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

Notify Job Results

Description

This is the callback URI that the R1 interface invokes when the historical PM counter results for the job requested by the rApp are available. The rApp expects the PM counter results URI as part of the request body. That URI is used to fetch the PM counter data.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
job_id Required

The unique identifier for one job that the rApp has created and is awaiting results.


Request Body

Request Body

JobResultCallbackResponse of mimetype application/json Required

JSON object that provides the callback URI to fetch the historical PM counter data.

{
	"data": {
		"data_type": "pmhistory",
		"type": "application/json;stream=true",
		"uri": "http://pmhistory:8080/v0alpha1/jobs/b66d0144-2137-11ec-8e85-f3c25b763afb"
	}
}
data Required

The data-type, media-type, and URI at which to retrieve the results of the job by making a GET request to the provided URI. The results are then used by the consumer to make calculations about and observations of the cell network.

Response

Response

200 OK

The incoming job results notification was successfully decoded and the results retrieved.

Errors

Errors

400

The incoming job results notification could not be decoded.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"data":{"data_type":"pmhistory","type":"application/json;stream=true","uri":"http://pmhistory:8080/v0alpha1/jobs/b66d0144-2137-11ec-8e85-f3c25b763afb"}}' https://{api_host}/v0alpha1/job_results/{job_id}


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

Was this page helpful?