Get the status and eventual result of an AssetAndUploadBatchJob by the ID returned by postAssetAndUploadBatchJob. The result contains successes and failures, keyed by the requested batchItemId.
A completed job only means the assets and signed upload URLs have been prepared. Each uploadParts[].url accepts the file's bytes by HTTP PUT for the inclusive startByte and endByte range. The unchanged signed URL provides storage authorization independently of the Dash bearer token. Each successful PUT returns an ETag response header. postAssetUploadCompletion completes an asset's upload with every successful part number and ETag after all required parts have uploaded. This polling endpoint does not transfer file contents or complete an upload.
New assets remain STAGED until a separate lifecycle transition. After upload completion, postAssetLifecycleTransitionBatchJob can publish them with STAGED_TO_LIVE, subject to publishing permission, or submit them for approval with STAGED_TO_PENDING_APPROVAL. STAGED_TO_LIVE requires a BY_CRITERION selector; a selector combining asset IDs with LIFECYCLE_STATE = STAGED targets specific staged assets.
The unique ID of the AssetAndUploadBatchJob
- Productionhttps://api-v2.dash.app/asset-and-upload-batch-jobs/{id}
curl -i -X GET \
'https://api-v2.dash.app/asset-and-upload-batch-jobs/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Unique identifier of the job that has been created
The ID of the account the job is happening in
The ID of the User who created the job
{ "id": "be161977-d44e-4888-af3c-66522e223963", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "creatorId": "google-oauth2|110955770826801837334", "type": "COMPLETED", "progress": { "steps": [ … ] }, "dateCompleted": "2021-02-15T09:24:01.417Z", "result": { "successes": { … } } }