Authorizations
Authentication token must be provided in the Authorization header using the Bearer scheme. Example: Authorization: Bearer your-api-key-or-token
curl --request GET \
--url https://api.turbofiles.io/v1/tasks/{taskId} \
--header 'Authorization: Bearer <token>'{
"jsonapi": {
"version": "1.1"
},
"data": {
"type": "tasks",
"id": "<string>",
"attributes": {
"public": false,
"created_at": "2023-01-01T00:00:00.000000Z",
"updated_at": "2023-01-02T00:00:00.000000Z",
"format": {
"input": "image/png",
"output": "image/webp"
},
"settings": {},
"started_at": "2023-01-03T00:00:00.000000Z",
"processed_at": "2023-01-04T00:00:00.000000Z",
"processing_metadata": {},
"status": "COMPLETED"
},
"relationships": {
"input": {
"data": {
"type": "files",
"id": "<string>"
},
"links": {
"self": "<string>",
"related": "<string>"
}
},
"output": {
"data": {
"type": "files",
"id": "<string>"
},
"links": {
"self": "<string>",
"related": "<string>"
}
}
},
"links": {
"self": "<string>"
}
},
"links": {
"self": "<string>"
},
"included": [
{
"type": "files",
"id": "8fhd83jpk",
"attributes": {
"format": "image/png",
"size": 504233,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"links": {
"self": "<string>",
"upload": "<string>",
"download": "<string>"
}
}
]
}curl --request GET \
--url https://api.turbofiles.io/v1/tasks/{taskId} \
--header 'Authorization: Bearer <token>'{
"jsonapi": {
"version": "1.1"
},
"data": {
"type": "tasks",
"id": "<string>",
"attributes": {
"public": false,
"created_at": "2023-01-01T00:00:00.000000Z",
"updated_at": "2023-01-02T00:00:00.000000Z",
"format": {
"input": "image/png",
"output": "image/webp"
},
"settings": {},
"started_at": "2023-01-03T00:00:00.000000Z",
"processed_at": "2023-01-04T00:00:00.000000Z",
"processing_metadata": {},
"status": "COMPLETED"
},
"relationships": {
"input": {
"data": {
"type": "files",
"id": "<string>"
},
"links": {
"self": "<string>",
"related": "<string>"
}
},
"output": {
"data": {
"type": "files",
"id": "<string>"
},
"links": {
"self": "<string>",
"related": "<string>"
}
}
},
"links": {
"self": "<string>"
}
},
"links": {
"self": "<string>"
},
"included": [
{
"type": "files",
"id": "8fhd83jpk",
"attributes": {
"format": "image/png",
"size": 504233,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"links": {
"self": "<string>",
"upload": "<string>",
"download": "<string>"
}
}
]
}Authentication token must be provided in the Authorization header using the Bearer scheme. Example: Authorization: Bearer your-api-key-or-token