[{"label":"Latest (0.1.1)","version":"latest"}]
cric-r1
Put Info Producer
DescriptionCreate or update one producer, allowing the producer to announce to the R1 environment that it is capable of producing one or more data-types and is able to accept jobs for those types.
Request
URLURL
https://{api_host}/dms/data-producer/v0alpha1/info-producers/{info_producer_id}
Path Parameters
Path Parameters
string
info_producer_id
Required
The identifier of one producer.
Request Body
Request Body
ProducerInfo
of mimetype application/json
Required
{
"supported_info_types": [
"pmhistory"
]
}
string
info_job_callback_url
Required
The callback URL by which the DMS will notify the producer of a new job.
array of
string
supported_info_types
Required
A list of those data types that this producer plans to produce.
Errors
ProblemDetails
400
Unable to create or update producer: bad request body.
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"supported_info_types":["pmhistory"]}' https://{api_host}/dms/data-producer/v0alpha1/info-producers/{info_producer_id}
[{"label":"Latest (0.1.1)","version":"latest"}]
cric-r1