Queries
sessions
Retrieves a list of items.
QUERY
sessions(after: String, before: String, distinctOn: [SessionSortEnum], filters: SessionsInputFilters, first: Int, last: Int, sort: [SessionSortEnum]): SessionsConnectionArguments
after
String
before
String
distinctOn
filters
first
Int
last
Int
sort
Returns
edges
[SessionsEdge]!
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query Sessions {
sessions {
edges {
cursor
node {
Created
LastSessionId
Updated
_etag
checkIn
checkOut
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"sessions": {
"edges": [
{
"cursor": "string",
"node": {
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"_etag": "string",
"checkIn": "value",
"checkOut": "value"
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query Sessions {
sessions {
edges {
cursor
node {
Created
LastSessionId
Updated
_etag
checkIn
checkOut
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"sessions": {
"edges": [
{
"cursor": "string",
"node": {
"Created": "value",
"LastSessionId": "string",
"Updated": "value",
"_etag": "string",
"checkIn": "value",
"checkOut": "value"
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}