query DestinationById($id: ID!) {
destinationById(id: $id) {
compatibilityMode
createdAt
createdBy
defaultLanguage
description
displayName
}
}{
"id": "id"
}{
"data": {
"destinationById": {
"compatibilityMode": "V1",
"createdAt": "value",
"createdBy": "value",
"defaultLanguage": "string",
"description": "string",
"displayName": "string"
}
}
}destinationById
Gets a destination by its global id, archived ones included. Fails with NotFoundError when no destination has it.
destinationById(id: ID!): Destination!Arguments
Global id of the destination (Destination.id).
Returns
Indexer version an older destination stays compatible with. Null for destinations created through this API.
When the destination was created (UTC).
Id of the user or application that created the item. Null if not recorded.
Default language stored on the destination itself. Each version has its own in ApiVersion.defaultLanguage.
Free-text note about the destination.
Name of the destination.
Version tag for optimistic concurrency. Pass back the value you last read when you change the item.
Global id of the destination. destinationById and the destination mutations take it. The raw id is safeName.
True if the item is archived. Archived items are still returned unless you filter on isDeleted.
Language mappings stored on the destination itself. Each version has its own in ApiVersion.languages.
When the destination last changed (UTC).
Id of the user or application that last changed the item. Null if not recorded.
Raw id of the destination (e.g. products), used in its API's URL. Set when the destination is created; can't change.
Labels for grouping and filtering destinations.
Id of the tenant that owns the item.
Versions of the destination, in every state. Filter where: { state: { nin: [NEW, DELETE_STARTED, DELETED] } } for the versions whose API answers reads; the destination is live when there is at least one.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
query DestinationById($id: ID!) {
destinationById(id: $id) {
compatibilityMode
createdAt
createdBy
defaultLanguage
description
displayName
}
}{
"id": "id"
}{
"data": {
"destinationById": {
"compatibilityMode": "V1",
"createdAt": "value",
"createdBy": "value",
"defaultLanguage": "string",
"description": "string",
"displayName": "string"
}
}
}Was this page helpful?