Mutation
mutation CreateCardsExportTask($input: CreateCardsExportTaskInput!) {
createCardsExportTask(input: $input) {
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
queuedTask {
artifacts {
available
completedAt
createdAt
filename
kind
sizeBytes
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"createCardsExportTask": {
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
],
"queuedTask": {
"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"
}
}
}
}
}Mutations
createCardsExportTask
Queues an export of the cards contentFilters matches into one file; its RESULT artifact holds the file once the returned task is COMPLETED. 500,000 or more matching cards fail with ValidationError. Set the fields directly; the nested input is the older form of the same fields.
MUTATION
createCardsExportTask(input: CreateCardsExportTaskInput!): CreateCardsExportTaskPayload!Arguments
input
required
Returns
errors
queuedTask
Mutation
mutation CreateCardsExportTask($input: CreateCardsExportTaskInput!) {
createCardsExportTask(input: $input) {
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
queuedTask {
artifacts {
available
completedAt
createdAt
filename
kind
sizeBytes
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"createCardsExportTask": {
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
],
"queuedTask": {
"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"
}
}
}
}
}Was this page helpful?