Associate Publishing Rules with Assets

You can associate publishing rules with videos, live streams, remote assets, YouTube videos, channels, and channel sets.

Associate Publishing Rule

[PUT]/v2/assets/asset_id/publishing_rule/publishing_rule_id

Get Publishing Rule for an Asset

[GET]/v2/assets/asset_id/publishing_rule_id

Remove Publishing Rule from an Asset

[DELETE]/v2/assets/asset_id/publishing_rule/publishing_rule_id

Examples

This example associates the QtsjklrewsddROoCi9B2B45drs publishing rule with the IzNnllMjphu2XF3_UgPROoCi9B2rtWs asset:

[PUT]/v2/assets/asset_id/publishing_rule/publishing_rule_id

Backlot returns a 200 response.

Note:

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

Was this article helpful?