This is only for a small and generally unauthenticated subset of the API features. Most API features are documented in the Main API section instead.
Status updates for jobs can be sent to an unauthenticated endpoint, to ensure that jobs running off-premise can update their own status. If you access the DE at https://de.example.com, the status update endpoint is available at https://de.example.com/job/uuid/status
, where uuid
should be replaced with the job’s external ID. For a running job, this is available in the job
file, under the uuid
key.
The body of the request should be JSON describing the state of the job, the hostname the update is being sent from, and a descriptive message, for example:
{
"hostname": "foo.example.com",
"message": "Finished downloading input files",
"state": "running"
}
With curl, the whole request might look like:
curl -XPOST -d '{"hostname": "foo.example.com", "message": "Finished downloading input files", "state": "running"}' https://de.example.com/job/2c8f0b52-a3fc-4f42-bf56-791a218e9bc4/status
The available states are: