Skip to main content
Skip table of contents

Creating channel lineup links

To create one or more channel lineup links (that is, a link between a channel lineup and one or more editorial channels), send a POST request to:

https://<host>:<port>/metadata/content/v1/channelLineUpLinks
  • Content-Type: application/json

The body must contain a channelLinkSet object that contains one or more blocks, each of which must contain the following:

  • One channelLineUpRef block that contains the following:
    • Either:
      • id – the ID of the channel lineup link, or
      • Both providerId and providerResourceId
    • name – the name of the channel lineup
  • An editorialChannelRefSet block containing one or more blocks, each of which must contain:
    • Either:
      • id – the ID of the editorial channel, or
      • Both the providerId and the providerResourceId of the editorial channel
    • name – the name of the editorial channel

None

A POST request with this payload adds a channel lineup link that links one channel lineup to one channel:

CODE
{
   "channelLinkSet": [{
      "channelLineUpRef": {
            "providerId": "test03SHN",
            "providerResourceId": "test03SHN"
         },
         "editorialChannelRefSet": [{
            "providerId": "OPERATOR",
            "providerResourceId": "BE2"
         }]
      }
   ]
}

A successful request returns an HTTP 201 status.

A bad request returns an HTTP 400 status.

For full details of this API, see Content and Product Manager (CPM) API documentation: content v1.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.