query ApiVersionById($id: ID!) {
apiVersionById(id: $id) {
allowedOrigins
applications {
edges {
cursor
node {
__typename
}
}
nodes {
accessToken {
__typename
}
apiVersionId
clientId
clientSecret
createdAt
createdBy
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
authentication
cardDefinitions {
edges {
cursor
node {
__typename
}
}
nodes {
activationStatus {
__typename
}
activePropertySet {
__typename
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
clusters {
edges {
cursor
node {
__typename
}
}
nodes {
createdBy
customerDisplayName
customerSafeName
etag
id
indexClusterUrl
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
createdAt
}
}{
"id": "id"
}{
"data": {
"apiVersionById": {
"allowedOrigins": [
"value"
],
"applications": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "Application"
}
}
],
"nodes": [
{
"accessToken": {
"__typename": "ApplicationAccessToken"
},
"apiVersionId": "value",
"clientId": "string",
"clientSecret": "string",
"createdAt": "value",
"createdBy": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
},
"authentication": "PROTECTED",
"cardDefinitions": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "CardDefinition"
}
}
],
"nodes": [
{
"activationStatus": {
"__typename": "WorkflowStatus"
},
"activePropertySet": {
"__typename": "PropertySet"
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
},
"clusters": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "Cluster"
}
}
],
"nodes": [
{
"createdBy": "value",
"customerDisplayName": "string",
"customerSafeName": "string",
"etag": "value",
"id": "id",
"indexClusterUrl": "string"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
}
},
"createdAt": "value"
}
}
}apiVersionById
Gets an API version by its global id. Fails with NotFoundError when no version has it.
apiVersionById(id: ID!): ApiVersion!Arguments
Global id of the version (ApiVersion.id).
Returns
Web origins allowed to call the version's API from a browser (CORS). * allows any origin.
Applications that can call the version's API, including tenant applications with access to it.
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.
What callers of the version's API must send. See AuthenticationOption.
Card definitions the version's endpoints publish.
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.
Clusters the version runs in, one per region.
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.
When the version was created (UTC).
Id of the user or application that created the item. Null if not recorded.
Global id of the cluster the version runs in by default (Cluster.id).
Output language the API uses when a request names none. One of the values in languages.
Destination the version belongs to.
Global id of the destination the version belongs to (Destination.id).
Indexing clusters that hold the version's data.
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.
Endpoints of the version: the routes its API serves.
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.
True lists only endpoints with changes not yet applied, false only those without. Null lists all.
Returns the last n elements from the list.
Version tag for optimistic concurrency. Pass back the value you last read when you change the item.
Global id of the version. apiVersionById and the version mutations take it.
Indexer version the version uses. See IndexerVersion.
Indexing progress of the version's data per region. Set the window with where: { period: { eq: <hours> } }; default 1 hour.
True if the item is archived. Archived items are still returned unless you filter on isDeleted.
Languages the version's API serves. Each item is {key, value}: key is the source language code, value is the language code the API outputs (e.g. en).
When the version last changed (UTC).
Id of the user or application that last changed the item. Null if not recorded.
Step-by-step progress of the version's last full or partial publish. Its status is UNKNOWN when the version was never published, was only published as a preview, or its last publish is no longer kept; read state instead.
Segment changes to the version's endpoints that are queued and not yet applied.
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.
Change counter of what the version publishes. Starts at 1 and goes up when its languages change or applyPendingVersionChanges applies endpoint changes.
Segments used by the version's endpoints.
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.
Publishing state of the version. See ApiVersionState.
Id of the tenant that owns the item.
Version number within the destination, from 1 up. The version's API URL uses it as v<version>.
query ApiVersionById($id: ID!) {
apiVersionById(id: $id) {
allowedOrigins
applications {
edges {
cursor
node {
__typename
}
}
nodes {
accessToken {
__typename
}
apiVersionId
clientId
clientSecret
createdAt
createdBy
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
authentication
cardDefinitions {
edges {
cursor
node {
__typename
}
}
nodes {
activationStatus {
__typename
}
activePropertySet {
__typename
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
clusters {
edges {
cursor
node {
__typename
}
}
nodes {
createdBy
customerDisplayName
customerSafeName
etag
id
indexClusterUrl
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
createdAt
}
}{
"id": "id"
}{
"data": {
"apiVersionById": {
"allowedOrigins": [
"value"
],
"applications": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "Application"
}
}
],
"nodes": [
{
"accessToken": {
"__typename": "ApplicationAccessToken"
},
"apiVersionId": "value",
"clientId": "string",
"clientSecret": "string",
"createdAt": "value",
"createdBy": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
},
"authentication": "PROTECTED",
"cardDefinitions": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "CardDefinition"
}
}
],
"nodes": [
{
"activationStatus": {
"__typename": "WorkflowStatus"
},
"activePropertySet": {
"__typename": "PropertySet"
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
},
"clusters": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "Cluster"
}
}
],
"nodes": [
{
"createdBy": "value",
"customerDisplayName": "string",
"customerSafeName": "string",
"etag": "value",
"id": "id",
"indexClusterUrl": "string"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
}
},
"createdAt": "value"
}
}
}Was this page helpful?