Updated on 2025-11-12 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 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

POST /v1/{project_id}/ott/channels/statistic

Querying Channel Statistics

Integration with Cloud Eye

Table 2 APIs for integration with Cloud Eye

API

Description

GET /v1/{project_id}/ott/dims-info

Querying Dimension Configurations

POST /v1/{project_id}/ott/instances

Querying Instances

StreamConnect

Table 3 StreamConnect APIs

API

Description

Creating a flow

Creating a Flow

Querying flows

Querying Flows

Deleting a flow

Deleting a Flow

Obtaining flow details

Obtaining Flow Details

Starting a flow task

Starting a Flow Task

Stopping a flow task

Stopping a Flow Task

Modifying a flow source

Modifying a Flow Source

Creating an output of pushing streams to a third party through SRT

Creating an Output of Pushing Streams to a Third Party Through SRT

Updating an output of pushing streams to a third party through SRT

Updating an Output of Pushing Streams to a Third Party Through SRT

Querying outputs of pushing streams to a third party through SRT

Querying Outputs of Pushing Streams to a Third Party Through SRT

Deleting an output of pushing streams to a third party through SRT

Deleting an Output of Pushing Streams to a Third Party Through SRT