Create the parent STCU node
Request
To create the parent node that the STCU channel nodes and events will be created under, send a POST request to:
http://<server>:<port>/cpm/content/v1/nodes
Headers
Content-Type: application/json
Mandatory fields
_id
name
providerResourceId
providerId
Example
A request with this payload creates the STCU parent node:
{
"_id" : "stcu_parent",
"name" : "STCU parent",
"providerResourceId" : "none",
"providerId": "none"
}
Response
A successful request returns an HTTP 201 status.
A bad request returns an HTTP 400 status.
Example
The payload of a response to a successful request looks like this:
{
"self": "/content/v1/nodes/stcu_parent"
}
See also
For full details of this API, see the Content and Product Manager (CPM) API documentation: content v1.