Developers
Set your API contextPick a region and space ID once. Every sample fills in your base URL.
Where do I find these?

In Coevera: open your space's API application and choose Show Access. It shows the space ID and the base URL, whose host starts with your region.

From the API: if you know the space ID, the discovery endpoint GET /api/discovery/spaces/{space_id} returns its region and base URLs, without credentials.

Only the region and space ID are kept, in this browser. Never paste a key or password here.

More in the quickstart

GraphQLRepositoriessolutionTemplate

entities.solutionTemplate

Read solution template records with the solutionTemplate repository, and change them with the solution template mutations. Same records as the REST SolutionTemplates entity.

Queries

Fields of entities { solutionTemplate { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
SolutionTemplateEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[SolutionTemplateEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: SolutionTemplateFilterInput, orderBy: [SolutionTemplateOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[SolutionTemplateEntity!]!
QUERYgetByCriteria(filter: SolutionTemplateFilterInput, orderBy: [SolutionTemplateOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
SolutionTemplateEntityConnection
QUERYgetChangedFieldsSinceRevision(id: UUID!, revision: Int!)
Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.
[UUID!]!

Mutations

KindMutationDoesReturns
MUTATIONcreateSolutionTemplate(input: CreateSolutionTemplateInput!, validationLevel: [ValidationLevel!])Create one recordCreateSolutionTemplatePayload
MUTATIONupdateSolutionTemplate(input: UpdateSolutionTemplateInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateSolutionTemplatePayload
MUTATIONbulkUpdateSolutionTemplate(input: [CreateOrUpdateSolutionTemplateInput!]!, deleteInput: [DeleteSolutionTemplateInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateSolutionTemplatePayload
MUTATIONdeleteSolutionTemplate(input: DeleteSolutionTemplateInput!)Soft-deleteDeleteSolutionTemplatePayload

Types

The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.

SolutionTemplateEntity object 10 fields: isDeleteProtected, id, isDeleted, …

Ready-made solution offered in the template gallery as a starting point for new solutions.

FieldTypeDescription
isDeleteProtectedBoolean!True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
idID!Unique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-text description of what the template sets up.
nameString!Name of the entity and its default text representation.
previewImageUrlStringURL of the template preview image shown in the template gallery.
settingsSolutionTemplateSchema!Preview of the template's canvas: the nodes, edges and groups the created solution will contain. Read-only.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
SolutionTemplateEdge object 5 fields: id, name, sourceNodeId, …

A directed, typed edge between two template nodes.

FieldTypeDescription
idID!Unique identifier of this edge within the template.
nameStringEdge label, if the template defines one.
sourceNodeIdID!Id of the node the edge starts from.
targetNodeIdID!Id of the node the edge points to.
typeSolutionEdgeType!Type of connection the edge represents.
SolutionTemplateEntityConnection object pageInfo: PageInfo!, edges: [SolutionTemplateEntityEdge]!, totalCount: Int

Paginated list of SolutionTemplate records.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[SolutionTemplateEntityEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.
SolutionTemplateEntityEdge object node: SolutionTemplateEntity, cursor: String!

A Relay edge containing a SolutionTemplateEntity and its cursor.

FieldTypeDescription
nodeSolutionTemplateEntityThe item at the end of the edge
cursorString!A cursor for use in pagination
SolutionTemplateFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

Filter conditions for SolutionTemplate records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

Input fieldTypeDescription
OR[SolutionTemplateFilterInput!]Matches records that meet at least one of the listed filters.
AND[SolutionTemplateFilterInput!]Matches records that meet all of the listed filters.
NOTSolutionTemplateFilterInputMatches records that do not meet this filter.
globalSearchQueryStringSearch term matched against the fields that the global search covers for this entity.
idEntityFilterStringFieldUnique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedEntityFilterDateTimeFieldLast modification time.
createdEntityFilterDateTimeFieldCreation time.
descriptionEntityFilterStringFieldFree-text description of what the template sets up.
nameEntityFilterStringFieldName of the entity and its default text representation.
previewImageUrlEntityFilterStringFieldURL of the template preview image shown in the template gallery.
SolutionTemplateOrderByInput input Asc or Desc per field

Sorting of SolutionTemplate records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
descriptionOrderByEnumFree-text description of what the template sets up.
nameOrderByEnumName of the entity and its default text representation.
previewImageUrlOrderByEnumURL of the template preview image shown in the template gallery.
CreateOrUpdateSolutionTemplateInput input 8 fields: clientMutationId, id, modified, …

Field values of a SolutionTemplate record to create, or to update when its id is set.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idIDUnique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-text description of what the template sets up.
nameStringName of the entity and its default text representation.
previewImageUrlStringURL of the template preview image shown in the template gallery.
settingsJSONStringFull template definition: the blueprint canvas (placeholder record ids), per-node creation blueprints and admin prerequisites. Instantiated into real records on create-from-template; clients only ever read the derived SolutionTemplateSchema projection.
CreateSolutionTemplateInput input 7 fields: clientMutationId, modified, created, …

Field values of a new SolutionTemplate record.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-text description of what the template sets up.
nameString!Name of the entity and its default text representation.
previewImageUrlStringURL of the template preview image shown in the template gallery.
settingsJSONString!Full template definition: the blueprint canvas (placeholder record ids), per-node creation blueprints and admin prerequisites. Instantiated into real records on create-from-template; clients only ever read the derived SolutionTemplateSchema projection.
DeleteSolutionTemplateInput input clientMutationId: String, id: ID!

Id of the SolutionTemplate record to delete.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
UpdateSolutionTemplateInput input 8 fields: clientMutationId, id, modified, …

Id of a SolutionTemplate record and the field values to change.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-text description of what the template sets up.
nameStringName of the entity and its default text representation.
previewImageUrlStringURL of the template preview image shown in the template gallery.
settingsJSONStringFull template definition: the blueprint canvas (placeholder record ids), per-node creation blueprints and admin prerequisites. Instantiated into real records on create-from-template; clients only ever read the derived SolutionTemplateSchema projection.
BulkUpdateSolutionTemplatePayload object result: BulkUpdateResults!

Result of the bulkUpdateSolutionTemplate mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateSolutionTemplatePayload object solutionTemplate: SolutionTemplateEntity, clientMutationId: String

Result of the createSolutionTemplate mutation.

FieldTypeDescription
solutionTemplateSolutionTemplateEntityThe created record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
DeleteSolutionTemplatePayload object solutionTemplate: SolutionTemplateEntity, clientMutationId: String

Result of the deleteSolutionTemplate mutation.

FieldTypeDescription
solutionTemplateSolutionTemplateEntityThe deleted record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
UpdateSolutionTemplatePayload object solutionTemplate: SolutionTemplateEntity, clientMutationId: String

Result of the updateSolutionTemplate mutation.

FieldTypeDescription
solutionTemplateSolutionTemplateEntityThe updated record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
SolutionTemplateGroup object id: ID!, position: Rectangle!, name: String!, color: Int!

A labelled container bundling template nodes.

FieldTypeDescription
idID!Unique identifier of this group within the template.
positionRectangle!Group rectangle (position and size) on the canvas; the created solution uses the same layout.
nameString!Display label of the group.
colorInt!Group color.
SolutionTemplateNodeInterface interface 5 fields: id, position, groupId, …

Common shape of every node in the template preview canvas.

FieldTypeDescription
idID!Unique identifier of this node within the template.
positionPosition!Node position on the canvas; the created solution places the node at the same position.
groupIdIDGroup this node belongs to, if any.
nameString!Display name of the node in the template preview.
descriptionStringExplanation of what the node does, provided by the template. Null when the template gives none; always null for entity nodes.
SolutionTemplateSchema object nodes: [SolutionTemplateNodeInterface!]!, edges: [SolutionTemplateEdge!]!, groups: [SolutionTemplateGroup!]!

Preview canvas of a solution template: the nodes, edges and groups the created solution will contain, in the layout they will have after installation.

FieldTypeDescription
nodes[SolutionTemplateNodeInterface!]!Nodes of the template.
edges[SolutionTemplateEdge!]!Typed edges between nodes.
groups[SolutionTemplateGroup!]!Visual groups bundling nodes.