[{"label":"Latest (0.1.1)","version":"latest"}]
cric-r1
Put Info Type Subscription
DescriptionCreate or udpate a subscription that allows the requestor to
receive notifications at the provided status_result_uri
when
any data or info types known to the DMS change their status.
Request
URLURL
https://{api_host}/dms/data-consumer/v0alpha1/info-type-subscriptions/{subscription_id}
Path Parameters
Path Parameters
string
subscription_id
Required
The identifier of the subscription.
Request Body
Request Body
InfoTypesSubscription
of mimetype application/json
Required
{
"owner": "string",
"status_result_uri": "string"
}
string
owner
Required
Name of the rapp or service subscribing for the info type notifications.
string
status_result_uri
Required
Callback URI that the DMS can invoke to notify the status of the info types.
string
id
Optional
Unique Id identifying the subscription.
Errors
400
Malformed request body, subscription not created or updated.
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"id":"string","owner":"string","status_result_uri":"string"}' https://{api_host}/dms/data-consumer/v0alpha1/info-type-subscriptions/{subscription_id}
[{"label":"Latest (0.1.1)","version":"latest"}]
cric-r1
On This Page
Data Consumer Operations
delete
get
get
get