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

GraphQLRepositoriesprojectContactRelation

entities.projectContactRelation

Read project contact relation records with the projectContactRelation repository, and change them with the project contact relation mutations. Same records as the REST ProjectContactRelations entity.

Queries

Fields of entities { projectContactRelation { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
ProjectContactRelationEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[ProjectContactRelationEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: ProjectContactRelationFilterInput, orderBy: [ProjectContactRelationOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[ProjectContactRelationEntity!]!
QUERYgetByCriteria(filter: ProjectContactRelationFilterInput, orderBy: [ProjectContactRelationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
ProjectContactRelationEntityConnection
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
MUTATIONcreateProjectContactRelation(input: CreateProjectContactRelationInput!, validationLevel: [ValidationLevel!])Create one recordCreateProjectContactRelationPayload
MUTATIONupdateProjectContactRelation(input: UpdateProjectContactRelationInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateProjectContactRelationPayload
MUTATIONbulkUpdateProjectContactRelation(input: [CreateOrUpdateProjectContactRelationInput!]!, deleteInput: [DeleteProjectContactRelationInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateProjectContactRelationPayload
MUTATIONdeleteProjectContactRelation(input: DeleteProjectContactRelationInput!)Soft-deleteDeleteProjectContactRelationPayload

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.

ProjectContactRelationEntity object 12 fields: isDeleteProtected, id, isDeleted, …

Link between a project and a contact, marking the primary contact.

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.
contactContactEntityContact linked to the project.
projectProjectEntityProject the contact is linked to.
contactIdID!Id of the contact linked to the project.
isPrimaryBoolean!True for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
projectIdID!Id of the project the contact is linked to.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
ProjectContactRelationEntityConnection object pageInfo: PageInfo!, edges: [ProjectContactRelationEntityEdge]!, totalCount: Int

Paginated list of ProjectContactRelation records.

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

A Relay edge containing a ProjectContactRelationEntity and its cursor.

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

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

Input fieldTypeDescription
OR[ProjectContactRelationFilterInput!]Matches records that meet at least one of the listed filters.
AND[ProjectContactRelationFilterInput!]Matches records that meet all of the listed filters.
NOTProjectContactRelationFilterInputMatches 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.
contactIdEntityFilterStringFieldId of the contact linked to the project.
isPrimaryBooleanTrue for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
projectIdEntityFilterStringFieldId of the project the contact is linked to.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
contactContactFilterInputContact linked to the project. Matches records where a related record meets these conditions.
projectProjectFilterInputProject the contact is linked to. Matches records where a related record meets these conditions.
ProjectContactRelationOrderByInput input Asc or Desc per field

Sorting of ProjectContactRelation 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.
contact[ContactOrderByNestedInput!]Contact linked to the project. Sorts by fields of the related record, listed in order of priority.
project[ProjectOrderByNestedInput!]Project the contact is linked to. Sorts by fields of the related record, listed in order of priority.
contactIdOrderByEnumId of the contact linked to the project.
isPrimaryOrderByEnumTrue for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
projectIdOrderByEnumId of the project the contact is linked to.
revisionOrderByEnumRevision when entity was lastly changed.
CreateOrUpdateProjectContactRelationInput input 8 fields: clientMutationId, id, modified, …

Field values of a ProjectContactRelation 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.
contactIdIDId of the contact linked to the project.
isPrimaryBooleanTrue for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
projectIdIDId of the project the contact is linked to.
revisionIntRevision when entity was lastly changed.
CreateProjectContactRelationInput input 7 fields: clientMutationId, modified, created, …

Field values of a new ProjectContactRelation 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.
contactIdID!Id of the contact linked to the project.
isPrimaryBoolean!True for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
projectIdID!Id of the project the contact is linked to.
revisionIntRevision when entity was lastly changed.
DeleteProjectContactRelationInput input clientMutationId: String, id: ID!

Id of the ProjectContactRelation 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.
UpdateProjectContactRelationInput input 8 fields: clientMutationId, id, modified, …

Id of a ProjectContactRelation 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.
contactIdIDId of the contact linked to the project.
isPrimaryBooleanTrue for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
projectIdIDId of the project the contact is linked to.
revisionIntRevision when entity was lastly changed.
BulkUpdateProjectContactRelationPayload object result: BulkUpdateResults!

Result of the bulkUpdateProjectContactRelation mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateProjectContactRelationPayload object projectContactRelation: ProjectContactRelationEntity, clientMutationId: String

Result of the createProjectContactRelation mutation.

FieldTypeDescription
projectContactRelationProjectContactRelationEntityThe 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).
DeleteProjectContactRelationPayload object projectContactRelation: ProjectContactRelationEntity, clientMutationId: String

Result of the deleteProjectContactRelation mutation.

FieldTypeDescription
projectContactRelationProjectContactRelationEntityThe 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).
UpdateProjectContactRelationPayload object projectContactRelation: ProjectContactRelationEntity, clientMutationId: String

Result of the updateProjectContactRelation mutation.

FieldTypeDescription
projectContactRelationProjectContactRelationEntityThe 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).