workers

Get a tasks status given its ID

Changed on
get/workers/tasks/{id}/

Request

  • Base URL
    https://dados.gov.pt/api/1
  • URL
    https://dados.gov.pt/api/1/workers/tasks/{id}/
  • Auth
    none declared

Headers

X-Fieldsstring mask

An optional fields mask

Response

Success

excstring

The exception thrown during execution

idstring

Tha task execution ID

resultstring

The task results if exists

status'STARTED' | 'FAILURE' | 'RETRY' | 'REVOKED' | 'PENDING' | 'SUCCESS' | 'RECEIVED'

Cron expression for hour

tracebackstring

The execution traceback

Example response

{
  "status": "STARTED"
}

Changes