Queries
steps
Retrieves a list of items.
QUERY
steps(after: String, before: String, distinctOn: [StepSortEnum], filters: StepsFilters, first: Int, last: Int, sort: [StepSortEnum]): ProcedureStepsConnectionArguments
after
String
before
String
distinctOn
filters
first
Int
last
Int
sort
Returns
edges
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query Steps {
steps {
edges {
cursor
node {
Attributes {
__typename
}
Parent
_AllChildrenCount
_AllParentsCount
_AncestorStepsCount
_ApprovalRequestsCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"steps": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "StepAttribute"
}
],
"Parent": "string",
"_AllChildrenCount": 1,
"_AllParentsCount": 1,
"_AncestorStepsCount": 1,
"_ApprovalRequestsCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query Steps {
steps {
edges {
cursor
node {
Attributes {
__typename
}
Parent
_AllChildrenCount
_AllParentsCount
_AncestorStepsCount
_ApprovalRequestsCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"steps": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "StepAttribute"
}
],
"Parent": "string",
"_AllChildrenCount": 1,
"_AllParentsCount": 1,
"_AncestorStepsCount": 1,
"_ApprovalRequestsCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}