[{"label":"Latest (0.1.0)","version":"latest"}]
cric-r1

Notify Job Status

Description

This 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

Request

URL

URL


post
https://{api_host}/v0alpha1/job_status/{job_id}
Copy

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: ENABLEDDISABLED

Response

Response

200 OK

The status notification has been processed. If the job’s status is DISABLED the job has been deleted.

Errors

Errors

400

The status notification could not be processed because it does not have the correct format.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"job_status_notification":"ENABLED"}' https://{api_host}/v0alpha1/job_status/{job_id}


[{"label":"Latest (0.1.0)","version":"latest"}]
cric-r1
Feedback

Was this page helpful?