Updated on 2024-08-13 GMT+08:00

API Overview

The following tables list the Media Live APIs. Before calling a Media Live API, obtain a user token. The obtained token can then be used to authenticate the calling of other APIs. For details about how to call a Media Live API, see Example 1: Creating a Channel.

OTT Channel Management

Table 1 OTT channel management APIs

API

Description

POST /v1/{project_id}/ott/channels

Creating an OTT Channel

GET /v1/{project_id}/ott/channels

Querying Channel Information

DELETE /v1/{project_id}/ott/channels

Deleting Channel Information

PUT /v1/{project_id}/ott/channels/endpoints

Modifying Channel Packaging Information

PUT /v1/{project_id}/ott/channels/input

Modifying Channel Input Stream Information

PUT /v1/{project_id}/ott/channels/record-settings

Modifying Channel Recording Information

PUT /v1/{project_id}/ott/channels/general

Modifying General Channel Information

PUT /v1/{project_id}/ott/channels/state

Changing the Channel Status

PUT /v1/{project_id}/ott/channels/encorder-settings

Modifying Channel Transcoding Template Information