[{"label":"Latest (0.1.0)","version":"latest"}]
cric-r1
Notify Job Status
DescriptionThis is the callback URI that the R1 interface invokes to indicate that the job requested by the rApp is enabled or disabled. The rApp may use this information to choose to take a different course of action.
Request
URLURL
https://{api_host}/v0alpha1/job_statuses/{job_id}
Path Parameters
Path Parameters
string
job_id
Required
The unique identifier for one job that the rApp has created.
Request Body
Request Body
JobStatusNotificationRequest
of mimetype application/json
Required
Status notification object that indicates the status of a job created by the rApp.
{
"job_status_notification": "ENABLED"
}
string
job_status_notification
Required
The status string indicates whether job is ENABLED
or DISABLED
,
from which the rApp can choose future courses of action.
Possible values are: ENABLED , DISABLED
Errors
400
The status notification could not be processed because it does not have the correct format.
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"job_status_notification":"ENABLED"}' https://{api_host}/v0alpha1/job_statuses/{job_id}
[{"label":"Latest (0.1.0)","version":"latest"}]
cric-r1
On This Page
Status Handling Operations
post