Updated on 2026-03-26 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

POST /v1/{project_id}/flows

Creating a Flow

GET /v1/{project_id}/flows

Querying Flows

DELETE /v1/{project_id}/flows

Deleting a Flow

GET /v1/{project_id}/flows/detail

Obtaining Flow Details

PUT /v1/{project_id}/flows/start

Starting a Flow Task

PUT /v1/{project_id}/flows/stop

Stopping a Flow Task

PUT /v1/{project_id}/flows/sources

Modifying a Flow Source

POST /v1/{project_id}/flows/outputs

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

PUT /v1/{project_id}/flows/outputs

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

GET /v1/{project_id}/flows/outputs

Querying Outputs of Pushing Streams to a Third Party Through SRT

DELETE /v1/{project_id}/flows/outputs

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