Mutation
mutation AnalyzeSourceImportTask($input: AnalyzeSourceImportTaskInput!) {
analyzeSourceImportTask(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": {
"id": "id"
}
}Response
{
"data": {
"analyzeSourceImportTask": {
"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
analyzeSourceImportTask
Starts the analysis of the uploaded file. Follow the returned task’s status: PENDING means the file is valid and waits for confirmQueuedTask, FAILED means it isn’t.
MUTATION
analyzeSourceImportTask(input: AnalyzeSourceImportTaskInput!): AnalyzeSourceImportTaskPayload!Arguments
input
required
Returns
errors
queuedTask
Mutation
mutation AnalyzeSourceImportTask($input: AnalyzeSourceImportTaskInput!) {
analyzeSourceImportTask(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": {
"id": "id"
}
}Response
{
"data": {
"analyzeSourceImportTask": {
"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?