Query
query QueuedTasks {
queuedTasks {
edges {
cursor
node {
artifacts {
__typename
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
}
nodes {
artifacts {
available
completedAt
createdAt
filename
kind
sizeBytes
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"queuedTasks": {
"edges": [
{
"cursor": "string",
"node": {
"artifacts": [
{
"__typename": "QueuedTaskArtifact"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails"
}
}
}
],
"nodes": [
{
"artifacts": [
{
"available": true,
"completedAt": "value",
"createdAt": "value",
"filename": "string",
"kind": "INPUT",
"sizeBytes": "value"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
queuedTasks
Every kind of long-running work in one feed, newest first. Unfiltered this is the whole tenant’s; pass createdBy to narrow it to one person, and configuration to scope it to what a kind of task was queued to do.
QUERY
queuedTasks(after: String, before: String, first: Int, last: Int, order: [QueuedTaskSortInput!], where: QueuedTaskFilterInput): QueuedTasksConnectionArguments
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.
last
Int
Returns the last n elements from the list.
order
Returns
edges
A list of edges.
nodes
[QueuedTask!]
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 QueuedTasks {
queuedTasks {
edges {
cursor
node {
artifacts {
__typename
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
}
nodes {
artifacts {
available
completedAt
createdAt
filename
kind
sizeBytes
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"queuedTasks": {
"edges": [
{
"cursor": "string",
"node": {
"artifacts": [
{
"__typename": "QueuedTaskArtifact"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails"
}
}
}
],
"nodes": [
{
"artifacts": [
{
"available": true,
"completedAt": "value",
"createdAt": "value",
"filename": "string",
"kind": "INPUT",
"sizeBytes": "value"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?