v1
latestOpenAPI 3.0.12026-07-24110189356.6 KBsubscription
Creates multiple subscriptions in a single request.
Creates multiple subscriptions between source and target catalogs/layers in batch.
post/subscriptions/batch
Request body
Example request
{
"items": [
{
"subscriptionName": "my-subscription",
"subscriptionHrn": "hrn:here:data-subscription::olp-here:my-subscription-7d93563980d94f1b",
"description": "Subscription to a layer",
"sourceCatalog": "hrn:here:data::olp-here:my-source-catalog",
"sourceLayer": "source-layer",
"destinationCatalog": "hrn:here:data::olp-here:my-destination-catalog",
"destinationLayer": "destination-layer",
"owner": {
"creator": {
"id": "Mejk6DMxAq7kKI5lt2T2"
},
"organisation": {
"id": "HERE"
}
},
"created": "2017-08-04T17:19:03.853Z",
"updated": "2017-08-04T17:19:03.853Z",
"status": {
"message": "Some error message"
}
}
]
}Response
Accepted - your batch request was received and is being processed.
Example response
{
"statusToken": "de1e3c8d-17ac-42b9-8f5d-7bbeba664fe6"
}