Skip to content

Update the status of exporting assets' metadata

Request

Security
bearerToken
Path
idstringrequired

The unique ID of the MetadataExportJob

Bodyapplication/jsonrequired
statusstring or nullrequired

The status of the job

Enum:"STARTED""STOPPED"
curl -i -X PATCH \
  'https://api-v2.dash.app/asset-metadata-export-batch-jobs/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "status": "STARTED"
  }'

Responses

Success

Bodyapplication/json
idstringrequired

Unique identifier of the job that has been created

Example:"be161977-d44e-4888-af3c-66522e223963"
accountIdstringrequired

The ID of the account the job is happening in

Example:"cfb665ca-ce35-4418-b9d5-70ee815db4bd"
creatorIdstringrequired

The ID of the User who created the job

Example:"google-oauth2|110955770826801837334"
typestringrequired

The job type

Value:"IN_PROGRESS"
Discriminator
progressobjectrequired
statusstringrequired
Enum:"PENDING""STARTING""STARTED""STOPPING"
Response
{ "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": { "downloadUrl": "https://csv-url-example.here" } }