Administrator
- Administrator
- All Products
POST /dbmi/public/api/v2/task/deploy/{taskId}
Field | Type | Description |
|---|---|---|
taskId | integer | The ID associated with the task. |
{ "status": "success", "code": 202, "message": "Deployment started", "data": { "jobId": 4, "deploymentStatus": "processing_deploy" } }
HTTP status code | Error code | Error message |
|---|---|---|
400 | CDIR_VALIDATION. INVALID_VALUE | Configuration value {field} is invalid. |
401 | CDIR_AUTH_UNAUTHORIZED | Authentication failed. |
403 | CDIR_AUTHZ_FORBIDDEN | You do not have the required permissions to perform this
job. |
404 | CDIR_TASK_NOT_FOUND | Task{TaskId} was not found. |
409 | CDIR_JOB_ALREADY_DEPLOYED | Job {jobId} is already deployed. |
500 | CDIR_INTERNAL_ERROR | Unexpected error occurred during deployment. |
503 | CDIR_SERVICE_ UNAVAILABLE | Service is temporarily unavailable. |
{ "error": { "httpStatus": 409, "code": "CDIR_JOB_ALREADY_DEPLOYED", "message": "Job {696921} is already deployed.", "details": [ { "jobId": "696921" } ], "traceId": "62956502-7e13-4bfb-920a-6089f7396831" } }