OpenTV ENTera & OpenTV Platform Documentation
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Creating a topic without subscribing devices to it

Request

To create a new topic without subscribing any devices to it, send a POST request to:

Bash
http:/<host>:<port>/mib/v2/topics

Headers

  • Content-Type: application/json

Mandatory fields

  • topicName – the name of the topic

Other fields

  • description – a description of the topic

  • managedBy – the service that manages the topic. Must be one of FCM ANPS, SNS, or IOT.
    Note that this field is purely informational – it does not affect anything.

  • modifiedBy – the entity/service that created/modified the topic

A newly-created topic has a status of active by default. if you need to make the topic inactive, set active to false as explained in Updating the details of a topic.

Example

A request with this payload creates a topic but does not subscribe any devices to it:

JSON
{
  "topicName": "New-Videos"
}

Response

A successful request returns an HTTP 201 status.

An unsuccessful request returns an HTTP 400 status if the topic could not be provisioned.

See also

For full details of this API, see the Device Messaging Manager (DMM) API documentation v1.