Queries
plans
Retrieves a list of items.
QUERY
plans(after: String, before: String, distinctOn: [PlanSortEnum], filters: PlansInputFilters, first: Int, last: Int, sort: [PlanSortEnum]): PlansConnectionArguments
after
String
before
String
distinctOn
filters
first
Int
last
Int
sort
Returns
edges
[PlansEdge]!
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query Plans {
plans {
edges {
cursor
node {
Attributes {
__typename
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"plans": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "PlanAttribute"
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query Plans {
plans {
edges {
cursor
node {
Attributes {
__typename
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"plans": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "PlanAttribute"
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}