Query
query ApiVersions {
apiVersions {
edges {
cursor
node {
allowedOrigins
applications {
__typename
}
authentication
cardDefinitions {
__typename
}
clusters {
__typename
}
createdAt
}
}
nodes {
allowedOrigins
applications {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
authentication
cardDefinitions {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
clusters {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
createdAt
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"apiVersions": {
"edges": [
{
"cursor": "string",
"node": {
"allowedOrigins": [
"value"
],
"applications": {
"__typename": "ApplicationsConnection"
},
"authentication": "PROTECTED",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"clusters": {
"__typename": "ClustersConnection"
},
"createdAt": "value"
}
}
],
"nodes": [
{
"allowedOrigins": [
"value"
],
"applications": {
"edges": [
{
"__typename": "ApplicationsEdge"
}
],
"nodes": [
{
"__typename": "Application"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"authentication": "PROTECTED",
"cardDefinitions": {
"edges": [
{
"__typename": "CardDefinitionsEdge"
}
],
"nodes": [
{
"__typename": "CardDefinition"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"clusters": {
"edges": [
{
"__typename": "ClustersEdge"
}
],
"nodes": [
{
"__typename": "Cluster"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"createdAt": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
apiVersions
Lists the versions of all the tenant’s destinations, in every state. Filter state for the usual question, e.g. where: { state: { eq: PUBLISHED } }.
QUERY
apiVersions(after: String, before: String, first: Int, last: Int, order: [ApiVersionSortInput!], where: ApiVersionFilterInput): ApiVersionsConnectionArguments
after
String
Returns the elements in the list that come after the specified cursor.
before
String
Returns the elements in the list that come before the specified cursor.
first
Int
Returns the first n elements from the list.
last
Int
Returns the last n elements from the list.
order
Returns
edges
A list of edges.
nodes
[ApiVersion!]
A flattened list of the nodes.
pageInfo
Information to aid in pagination.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query ApiVersions {
apiVersions {
edges {
cursor
node {
allowedOrigins
applications {
__typename
}
authentication
cardDefinitions {
__typename
}
clusters {
__typename
}
createdAt
}
}
nodes {
allowedOrigins
applications {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
authentication
cardDefinitions {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
clusters {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
createdAt
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"apiVersions": {
"edges": [
{
"cursor": "string",
"node": {
"allowedOrigins": [
"value"
],
"applications": {
"__typename": "ApplicationsConnection"
},
"authentication": "PROTECTED",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"clusters": {
"__typename": "ClustersConnection"
},
"createdAt": "value"
}
}
],
"nodes": [
{
"allowedOrigins": [
"value"
],
"applications": {
"edges": [
{
"__typename": "ApplicationsEdge"
}
],
"nodes": [
{
"__typename": "Application"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"authentication": "PROTECTED",
"cardDefinitions": {
"edges": [
{
"__typename": "CardDefinitionsEdge"
}
],
"nodes": [
{
"__typename": "CardDefinition"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"clusters": {
"edges": [
{
"__typename": "ClustersEdge"
}
],
"nodes": [
{
"__typename": "Cluster"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"createdAt": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?