Creating channel lineup links
Request
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
Headers
Content-Type: application/json
Mandatory arguments
The body must contain a channelLinkSet object that contains one or more blocks, each of which must contain the following:
- One
channelLineUpRefblock that contains the following:- Either:
id– the ID of the channel lineup link, or- Both
providerIdandproviderResourceId
name– the name of the channel lineup
- Either:
- An
editorialChannelRefSetblock containing one or more blocks, each of which must contain:- Either:
id– the ID of the editorial channel, or- Both the
providerIdand theproviderResourceIdof the editorial channel
name– the name of the editorial channel
- Either:
Other arguments
None
Example
A POST request with this payload adds a channel lineup link that links one channel lineup to one channel:
{
"channelLinkSet": [{
"channelLineUpRef": {
"providerId": "test03SHN",
"providerResourceId": "test03SHN"
},
"editorialChannelRefSet": [{
"providerId": "OPERATOR",
"providerResourceId": "BE2"
}]
}
]
}
Response
A successful request returns an HTTP 201 status.
A bad request returns an HTTP 400 status.
See also
For full details of this API, see Content and Product Manager (CPM) API documentation: content v1.