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

Notify Job Results

Description

This is the callback URI that a data producer invokes when the results of a data-collection job are ready for retrieval.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
job_id Required

The unique identifier for one job that the dms 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 data for collection.

{
	"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}/dms/v0alpha1/job_results/{job_id}


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

Was this page helpful?