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

GraphQLRepositoriestranslation

entities.translation

Read translation records with the translation repository, and change them with the translation mutations. Same records as the REST Translations entity.

Queries

Fields of entities { translation { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
TranslationEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[TranslationEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: TranslationFilterInput, orderBy: [TranslationOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[TranslationEntity!]!
QUERYgetByCriteria(filter: TranslationFilterInput, orderBy: [TranslationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
TranslationEntityConnection
QUERYgetPublished(limit: Int, offset: Int, filter: TranslationFilterInput, orderBy: [TranslationOrderByInput!], includeDeleted: Boolean)
Returns the published records that match the filter, paged with limit and offset.
[TranslationEntity!]!
QUERYgetDrafts(filter: TranslationFilterInput, orderBy: [TranslationOrderByInput!])
Returns the records that match the filter, with pending unpublished changes applied where a draft exists.
[TranslationEntity!]!
QUERYgetDraftById(entityId: ID!)
Returns the record with the given id, with its pending unpublished changes applied when a draft exists.
TranslationEntity!

Mutations

KindMutationDoesReturns
MUTATIONdeleteTranslation(input: DeleteDraftTranslationInput!)Soft-deleteDeleteTranslationPayload
MUTATIONcreateTranslation(input: CreateDraftTranslationInput!)Create one recordCreateTranslationPayload
MUTATIONupdateTranslation(input: UpdateDraftTranslationInput!)Update fieldsUpdateTranslationPayload

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.

TranslationEntity object 37 fields: isDeleteProtected, hasDraft, id, …

Translation of a field name, dropdown option or form text into the supported languages.

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.
hasDraftBooleanTrue when the record has unpublished draft changes, including pending translation changes, that can be published.
idID!Unique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
accountTypeAccountTypeEntityAccount type the form-level translation applies to.
appointmentTypeAppointmentTypeEntityAppointment type the form-level translation applies to.
contactTypeContactTypeEntityContact type the form-level translation applies to.
dataDataEntityData option (dropdown/radio choice) this row translates. Set when labelType is Data.
fieldFieldEntityField whose name/label this row translates. Set when labelType is Field, FormField, or FormDescription.
leadTypeLeadTypeEntityLead type the form-level translation applies to.
opptyProductRelationTypeOpptyProductRelationTypeEntityOpportunity product relation type the form-level translation applies to.
opptyTypeOpportunityTypeEntityOpportunity type the form-level translation applies to.
productTypeProductTypeEntityProduct type the form-level translation applies to.
projectTypeProjectTypeEntityProject type the form-level translation applies to.
taskTypeTaskTypeEntityTask type the form-level translation applies to.
accountTypeIdIDId of the account type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
appointmentTypeIdIDId of the appointment type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
contactTypeIdIDId of the contact type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
dataIdIDId of the translated data option.
deDeStringTranslated text in German.
enUsStringTranslated text in US English.
esEsStringTranslated text in Spanish.
fieldIdIDId of the translated field.
formTypeFormTypeEnumForm of the record type the translation applies to: the edit form, or the lost form of a lead or opportunity type. Required when labelType is FormField or FormDescription.
labelTypeTranslationLabelTypeEnum!Kind of text the row translates: a field name (Field), a dropdown or radio option (Data), or the label or description of a field on the form of one record type (FormField, FormDescription).
leadTypeIdIDId of the lead type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
opptyProductRelationTypeIdIDId of the opportunity product relation type.
opptyTypeIdIDId of the opportunity type.
productTypeIdIDId of the product type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
projectTypeIdIDId of the project type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
ptBrStringTranslated text in Brazilian Portuguese.
taskTypeIdIDId of the task type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
isPublishedBooleanTrue when the translation is published; false while it exists only as an unpublished draft.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
TranslationEntityConnection object pageInfo: PageInfo!, edges: [TranslationEntityEdge]!, totalCount: Int

Paginated list of Translation records.

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

A Relay edge containing a TranslationEntity and its cursor.

FieldTypeDescription
nodeTranslationEntityThe item at the end of the edge
cursorString!A cursor for use in pagination
FormTypeEnumFilterInput input eq: [FormTypeEnum!], NOT: FormTypeEnumFilterInput

Conditions on an enumeration field. Several conditions given together must all match.

Input fieldTypeDescription
eq[FormTypeEnum!]Matches any of the listed values.
NOTFormTypeEnumFilterInputMatches values that do not meet this condition.
TranslationFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

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

Input fieldTypeDescription
OR[TranslationFilterInput!]Matches records that meet at least one of the listed filters.
AND[TranslationFilterInput!]Matches records that meet all of the listed filters.
NOTTranslationFilterInputMatches 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.
accountTypeIdEntityFilterStringFieldId of the account type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
appointmentTypeIdEntityFilterStringFieldId of the appointment type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
contactTypeIdEntityFilterStringFieldId of the contact type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
dataIdEntityFilterStringFieldId of the translated data option.
deDeEntityFilterStringFieldTranslated text in German.
enUsEntityFilterStringFieldTranslated text in US English.
esEsEntityFilterStringFieldTranslated text in Spanish.
fieldIdEntityFilterStringFieldId of the translated field.
formTypeFormTypeEnumFilterInputForm of the record type the translation applies to: the edit form, or the lost form of a lead or opportunity type. Required when labelType is FormField or FormDescription.
labelTypeTranslationLabelTypeEnumFilterInputKind of text the row translates: a field name (Field), a dropdown or radio option (Data), or the label or description of a field on the form of one record type (FormField, FormDescription).
leadTypeIdEntityFilterStringFieldId of the lead type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
opptyProductRelationTypeIdEntityFilterStringFieldId of the opportunity product relation type.
opptyTypeIdEntityFilterStringFieldId of the opportunity type.
productTypeIdEntityFilterStringFieldId of the product type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
projectTypeIdEntityFilterStringFieldId of the project type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
ptBrEntityFilterStringFieldTranslated text in Brazilian Portuguese.
taskTypeIdEntityFilterStringFieldId of the task type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
isPublishedBooleanTrue when the translation is published; false while it exists only as an unpublished draft.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
accountTypeAccountTypeFilterInputAccount type the form-level translation applies to. Matches records where a related record meets these conditions.
appointmentTypeAppointmentTypeFilterInputAppointment type the form-level translation applies to. Matches records where a related record meets these conditions.
contactTypeContactTypeFilterInputContact type the form-level translation applies to. Matches records where a related record meets these conditions.
dataDataFilterInputData option (dropdown/radio choice) this row translates. Set when labelType is Data. Matches records where a related record meets these conditions.
fieldFieldFilterInputField whose name/label this row translates. Set when labelType is Field, FormField, or FormDescription. Matches records where a related record meets these conditions.
leadTypeLeadTypeFilterInputLead type the form-level translation applies to. Matches records where a related record meets these conditions.
opptyProductRelationTypeOpptyProductRelationTypeFilterInputOpportunity product relation type the form-level translation applies to. Matches records where a related record meets these conditions.
opptyTypeOpportunityTypeFilterInputOpportunity type the form-level translation applies to. Matches records where a related record meets these conditions.
productTypeProductTypeFilterInputProduct type the form-level translation applies to. Matches records where a related record meets these conditions.
projectTypeProjectTypeFilterInputProject type the form-level translation applies to. Matches records where a related record meets these conditions.
taskTypeTaskTypeFilterInputTask type the form-level translation applies to. Matches records where a related record meets these conditions.
TranslationLabelTypeEnumFilterInput input eq: [TranslationLabelTypeEnum!], NOT: TranslationLabelTypeEnumFilterInput

Conditions on an enumeration field. Several conditions given together must all match.

Input fieldTypeDescription
eq[TranslationLabelTypeEnum!]Matches any of the listed values.
NOTTranslationLabelTypeEnumFilterInputMatches values that do not meet this condition.
TranslationOrderByInput input Asc or Desc per field

Sorting of Translation 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.
accountType[AccountTypeOrderByNestedInput!]Account type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
appointmentType[AppointmentTypeOrderByNestedInput!]Appointment type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
contactType[ContactTypeOrderByNestedInput!]Contact type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
data[DataOrderByNestedInput!]Data option (dropdown/radio choice) this row translates. Set when labelType is Data. Sorts by fields of the related record, listed in order of priority.
field[FieldOrderByNestedInput!]Field whose name/label this row translates. Set when labelType is Field, FormField, or FormDescription. Sorts by fields of the related record, listed in order of priority.
leadType[LeadTypeOrderByNestedInput!]Lead type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
opptyProductRelationType[OpptyProductRelationTypeOrderByNestedInput!]Opportunity product relation type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
opptyType[OpportunityTypeOrderByNestedInput!]Opportunity type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
productType[ProductTypeOrderByNestedInput!]Product type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
projectType[ProjectTypeOrderByNestedInput!]Project type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
taskType[TaskTypeOrderByNestedInput!]Task type the form-level translation applies to. Sorts by fields of the related record, listed in order of priority.
accountTypeIdOrderByEnumId of the account type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
appointmentTypeIdOrderByEnumId of the appointment type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
contactTypeIdOrderByEnumId of the contact type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
dataIdOrderByEnumId of the translated data option.
deDeOrderByEnumTranslated text in German.
enUsOrderByEnumTranslated text in US English.
esEsOrderByEnumTranslated text in Spanish.
fieldIdOrderByEnumId of the translated field.
formTypeOrderByEnumForm of the record type the translation applies to: the edit form, or the lost form of a lead or opportunity type. Required when labelType is FormField or FormDescription.
labelTypeOrderByEnumKind of text the row translates: a field name (Field), a dropdown or radio option (Data), or the label or description of a field on the form of one record type (FormField, FormDescription).
leadTypeIdOrderByEnumId of the lead type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
opptyProductRelationTypeIdOrderByEnumId of the opportunity product relation type.
opptyTypeIdOrderByEnumId of the opportunity type.
productTypeIdOrderByEnumId of the product type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
projectTypeIdOrderByEnumId of the project type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
ptBrOrderByEnumTranslated text in Brazilian Portuguese.
taskTypeIdOrderByEnumId of the task type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
isPublishedOrderByEnumTrue when the translation is published; false while it exists only as an unpublished draft.
revisionOrderByEnumRevision when entity was lastly changed.
CreateDraftTranslationInput input 21 fields: clientMutationId, modified, created, …

Parameters of the createTranslation mutation.

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.
accountTypeIdIDId of the account type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
appointmentTypeIdIDId of the appointment type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
contactTypeIdIDId of the contact type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
dataIdIDId of the translated data option.
deDeStringTranslated text in German.
enUsStringTranslated text in US English.
esEsStringTranslated text in Spanish.
fieldIdIDId of the translated field.
formTypeFormTypeEnumForm of the record type the translation applies to: the edit form, or the lost form of a lead or opportunity type. Required when labelType is FormField or FormDescription.
labelTypeTranslationLabelTypeEnum!Kind of text the row translates: a field name (Field), a dropdown or radio option (Data), or the label or description of a field on the form of one record type (FormField, FormDescription).
leadTypeIdIDId of the lead type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
opptyProductRelationTypeIdIDId of the opportunity product relation type.
opptyTypeIdIDId of the opportunity type.
productTypeIdIDId of the product type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
projectTypeIdIDId of the project type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
ptBrStringTranslated text in Brazilian Portuguese.
taskTypeIdIDId of the task type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
revisionIntRevision when entity was lastly changed.
DeleteDraftTranslationInput input clientMutationId: String, id: ID

Parameters of the deleteTranslation mutation.

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.
UpdateDraftTranslationInput input 23 fields: clientMutationId, id, isDeleted, …

Parameters of the updateTranslation mutation.

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.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
accountTypeIdIDId of the account type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
appointmentTypeIdIDId of the appointment type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
contactTypeIdIDId of the contact type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
dataIdIDId of the translated data option.
deDeStringTranslated text in German.
enUsStringTranslated text in US English.
esEsStringTranslated text in Spanish.
fieldIdIDId of the translated field.
formTypeFormTypeEnumForm of the record type the translation applies to: the edit form, or the lost form of a lead or opportunity type. Required when labelType is FormField or FormDescription.
labelTypeTranslationLabelTypeEnumKind of text the row translates: a field name (Field), a dropdown or radio option (Data), or the label or description of a field on the form of one record type (FormField, FormDescription).
leadTypeIdIDId of the lead type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
opptyProductRelationTypeIdIDId of the opportunity product relation type.
opptyTypeIdIDId of the opportunity type.
productTypeIdIDId of the product type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
projectTypeIdIDId of the project type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
ptBrStringTranslated text in Brazilian Portuguese.
taskTypeIdIDId of the task type whose form this translation applies to. Set only when labelType is FormField or FormDescription.
revisionIntRevision when entity was lastly changed.
CreateTranslationPayload object translation: TranslationEntity, clientMutationId: String

Result of the createTranslation mutation.

FieldTypeDescription
translationTranslationEntityThe 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).
DeleteTranslationPayload object translation: TranslationEntity, clientMutationId: String

Result of the deleteTranslation mutation.

FieldTypeDescription
translationTranslationEntityThe 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).
UpdateTranslationPayload object translation: TranslationEntity!, clientMutationId: String

Result of the updateTranslation mutation.

FieldTypeDescription
translationTranslationEntity!The 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).
FormTypeEnum enum Edit, Lost

Which form of a lead or opportunity type a setting applies to.

ValueDescription
EditThe record detail (edit) form.
LostThe form shown when a lead or opportunity is marked as lost.
TranslationLabelTypeEnum enum Field, Data, FormField, FormDescription

Kind of text a translation entry translates.

ValueDescription
FieldName of a field.
DataOption of a dropdown or radio field.
FormFieldLabel of a field on the form of a specific record type.
FormDescriptionDescription of a field on the form of a specific record type.