Query
query Endpoints {
endpoints {
edges {
cursor
node {
activeContent
apiVersion {
__typename
}
apiVersionId
cardDefinitions {
__typename
}
description
displayName
}
}
nodes {
activeContent
apiVersion {
allowedOrigins
applications {
__typename
}
authentication
cardDefinitions {
__typename
}
clusters {
__typename
}
createdAt
}
apiVersionId
cardDefinitions {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
description
displayName
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"endpoints": {
"edges": [
{
"cursor": "string",
"node": {
"activeContent": "value",
"apiVersion": {
"__typename": "ApiVersion"
},
"apiVersionId": "id",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"description": "string",
"displayName": "string"
}
}
],
"nodes": [
{
"activeContent": "value",
"apiVersion": {
"allowedOrigins": [
"value"
],
"applications": {
"__typename": "ApplicationsConnection"
},
"authentication": "PROTECTED",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"clusters": {
"__typename": "ClustersConnection"
},
"createdAt": "value"
},
"apiVersionId": "id",
"cardDefinitions": {
"edges": [
{
"__typename": "CardDefinitionsEdge"
}
],
"nodes": [
{
"__typename": "CardDefinition"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"description": "string",
"displayName": "string"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
endpoints
Lists the endpoints of all the tenant’s API versions, whatever the version’s state. Filter apiVersionState for the live ones, or read ApiVersion.endpoints for one version.
QUERY
endpoints(after: String, before: String, first: Int, hasPendingChanges: Boolean, last: Int, order: [EndpointSortInput!], where: EndpointFilterInput): EndpointsConnectionArguments
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.
hasPendingChanges
Boolean
default:false
True lists only endpoints with pending changes (pendingContent not null). False, the default, lists all.
last
Int
Returns the last n elements from the list.
order
where
Returns
edges
A list of edges.
nodes
[Endpoint!]
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 Endpoints {
endpoints {
edges {
cursor
node {
activeContent
apiVersion {
__typename
}
apiVersionId
cardDefinitions {
__typename
}
description
displayName
}
}
nodes {
activeContent
apiVersion {
allowedOrigins
applications {
__typename
}
authentication
cardDefinitions {
__typename
}
clusters {
__typename
}
createdAt
}
apiVersionId
cardDefinitions {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
description
displayName
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"endpoints": {
"edges": [
{
"cursor": "string",
"node": {
"activeContent": "value",
"apiVersion": {
"__typename": "ApiVersion"
},
"apiVersionId": "id",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"description": "string",
"displayName": "string"
}
}
],
"nodes": [
{
"activeContent": "value",
"apiVersion": {
"allowedOrigins": [
"value"
],
"applications": {
"__typename": "ApplicationsConnection"
},
"authentication": "PROTECTED",
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"clusters": {
"__typename": "ClustersConnection"
},
"createdAt": "value"
},
"apiVersionId": "id",
"cardDefinitions": {
"edges": [
{
"__typename": "CardDefinitionsEdge"
}
],
"nodes": [
{
"__typename": "CardDefinition"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"description": "string",
"displayName": "string"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?