Target - Publish
Configuration
The name of this target is PublishTarget
To configure the publish action, you need to provide the following:
- to
The name of the tenant to publish the data to
Adding a publish target
To add a publish target to an existing subscription:
- Web Portal
- OpenDataDSL
- REST API
- Select Subscriptions
- Find the subscription you want to add the target to.
- Click the + button next to targets
- Select PublishTarget
- Fill out the to field appropriately
- Click the save button
// Adding a publish target to an existing subscription
sub = ${subscription:"MySubscription"}
sub.addPublishTarget("tenant")
save sub
POST https://api.opendatadsl.com/api/subscription/v1
Authorization: Bearer {{token}}
{
"name": "MySubscription",
"targets":[{
"name": "PublishTarget",
"to": "tenant"
}]
}