Data Types

AsyncResponse

Response body from an API endpoint that performs work asynchronously (i.e. does not complete the work immediately).

Structure

{
"jobDocs": String,
"jobId": String,
"jobType": String,
"jobUrl": String
}

Example

{
"jobDocs": "https://upload.io/docs/upload-api/jobs/GetJob",
"jobId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"jobType": "ExampleJob",
"jobUrl": "https://api.upload.io/v2/accounts/FW25aki/jobs/ExampleJob/01ARZ3NDEKTSV4RRFFQ69G5FAV"
}

Properties

jobDocs

Link to the documentation that describes how to get a job's status from its job ID.

Type: String

Value: "https://upload.io/docs/upload-api/jobs/GetJob"

Required: Yes

jobId

Unique ID for the job.

Example: "01ARZ3NDEKTSV4RRFFQ69G5FAV"

Type: String

Length: 26

Required: Yes

jobType

Type of the job.

Example: "ExampleJob"

Type: String

Allowed Values: "CopyFileBatchJob", "CopyFolderBatchJob", "DeleteFileBatchJob", "DeleteFolderBatchJob"

Required: Yes

jobUrl

URL for the job's status.

You can GET this URL to retrieve the job's status.

You must authorize your GET request with a secret_* API key when accessing the URL.

Example: "https://api.upload.io/v2/accounts/FW25aki/jobs/ExampleJob/01ARZ3NDEKTSV4RRFFQ69G5FAV"

Type: String

Min Length: 1

Max Length: 255

Required: Yes

Used by

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: