Query
query Environments {
environments {
edges {
cursor
node {
account {
__typename
}
apiKeys {
__typename
}
color
createdAt
description
displayName
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
}Response
{
"data": {
"environments": {
"edges": [
{
"cursor": "value",
"node": {
"account": {
"__typename": "Account"
},
"apiKeys": [
{
"__typename": "ApiKey"
}
],
"color": "string",
"createdAt": "value",
"description": "string",
"displayName": "string"
}
}
],
"pageInfo": {
"endCursor": "value",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "value"
}
}
}
}Queries
environments
QUERY
environments(filter: EnvironmentFilter, paging: CursorPaging, sorting: [EnvironmentSort!]): EnvironmentConnection!Arguments
filter
default:{}
Specify to filter the records returned.
paging
default:{first: 10}
Limit or page results.
sorting
default:[{direction: DESC, field: createdAt}]
Specify to sort results.
Returns
edges
[EnvironmentEdge!]!
Array of edges.
pageInfo
Paging information
Query
query Environments {
environments {
edges {
cursor
node {
account {
__typename
}
apiKeys {
__typename
}
color
createdAt
description
displayName
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
}Response
{
"data": {
"environments": {
"edges": [
{
"cursor": "value",
"node": {
"account": {
"__typename": "Account"
},
"apiKeys": [
{
"__typename": "ApiKey"
}
],
"color": "string",
"createdAt": "value",
"description": "string",
"displayName": "string"
}
}
],
"pageInfo": {
"endCursor": "value",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "value"
}
}
}
}