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

Create Job

Description

This is the interface used by the data management service to instantiate a job, do not use directly.

Request

Request

URL

URL


post
https://{api_host}/v0alpha1/jobs
Copy

Request Body

Request Body

producer_info_job_request of mimetype application/json Optional

The job information. The format is made up of several fields required by R1 data management, plus an info_job_data field that is specific to the type of job being created. In this case a cmwrite job.

Response

Response

200 OK

An empty response indicating the job was successfully created. It will be processed asynchronously.

Errors

Errors

ProblemDetails
400

The request is of the correct content-type but is incorrectly formed in some fashion: missing required fields, using wrong types for valid fields, or not capable of being processed as the expected input.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"info_job_identity":"94ec9a62-213b-11ec-af33-7f567fdd0e71","info_type_identity":"cmwrite","target_uri":"http://consumer:8080/v0alpha1/jobs_results/94ec9a62-213b-11ec-af33-7f567fdd0e71"}' https://{api_host}/v0alpha1/jobs


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

Was this page helpful?