Administrator
- Administrator
- All Products
GET https://<agent-host>:9443/rm/dbmi/api/v1/job/<job-id>/status RM-USER-TOKEN: <rm-token>
curl -ik -X GET https://<agent-host>:9443/rm/dbmi/api/v1/job/<job-id>/status \ -H "RM-USER-TOKEN: <rm-token>"
Field | Type | Required | Description |
|---|---|---|---|
job-id | Number | Yes | ID of the job. |
{"jobStatus":"RUNNING","operation":"STOP","operationState":"DONE"}
Field | Type | Description |
|---|---|---|
jobStatus | String | Current status of the job. Valid values are:
|
Operation | String | Latest operation requested for the job. Valid values are:
|
operationState | String | State of the latest operation. Options are:
|
Scenario | Response |
|---|---|
Running job with no operation requested. |
{"jobStatus":"RUNNING","operation":null,"operationState":null} |
Stop requested but not yet applied | {"jobStatus":"RUNNING","operation":"STOP","operationState":"REQUESTED"} |
Stop applied and the job still running | {"jobStatus":"RUNNING","operation":"STOP","operationState":"DONE"} |
Job stopped | jobStatus":"STOPPED","operation":"STOP","operationState":"DONE"} |
Job aborted |
{"jobStatus":"ABORTED","operation":"ABORT","operationState":"DONE"} |