API概览
视频直播服务对应的接口列表如下所示,在调用视频直播API前,您需要先获取用户Token,Token可以用于调用其他API时鉴权,具体如何调用直播API请参考应用示例。
域名管理接口
接口 |
说明 |
---|---|
POST /v1/{project_id}/domain |
|
DELETE /v1/{project_id}/domain |
|
PUT /v1/{project_id}/domain |
|
GET /v1/{project_id}/domain |
|
PUT /v1/{project_id}/domains_mapping |
|
DELETE /v1/{project_id}/domains_mapping |
|
PUT /v1/{project_id}/domain/ipv6-switch |
|
GET /v1/{project_id}/cdn/ip-info |
|
PUT /v1/{project_id}/domain/delay |
|
GET /v1/{project_id}/domain/delay |
|
PUT /v1/{project_id}/domain/hls |
|
GET /v1/{project_id}/domain/hls |
|
PUT /v1/{project_id}/domain/pull-sources |
|
GET /v1/{project_id}/domain/pull-sources |
转码模板管理接口
流管理接口
接口 |
说明 |
---|---|
POST /v1/{project_id}/stream/blocks |
|
GET /v1/{project_id}/stream/blocks |
|
DELETE /v1/{project_id}/stream/blocks |
|
PUT /v1/{project_id}/stream/blocks |
|
GET /v1/{project_id}/realtime/streams |
通知管理接口
接口 |
说明 |
---|---|
PUT /v1/{project_id}/notifications/publish |
|
GET /v1/{project_id}/notifications/publish |
|
DELETE /v1/{project_id}/notifications/publish |
鉴权管理接口
接口 |
说明 |
---|---|
PUT /v1/{project_id}/guard/referer-chain |
|
DELETE /v1/{project_id}/guard/referer-chain |
|
GET /v1/{project_id}/guard/referer-chain |
|
GET /v1/{project_id}/guard/ip |
|
PUT /v1/{project_id}/guard/ip |
|
POST /v1/{project_id}/auth/chain |
|
GET /v1/{project_id}/domain/geo-blocking |
|
PUT /v1/{project_id}/domain/geo-blocking |
|
GET /v1/{project_id}/guard/key-chain |
|
PUT /v1/{project_id}/guard/key-chain |
|
DELETE /v1/{project_id}/guard/key-chain |
截图管理接口
日志管理接口
接口 |
说明 |
---|---|
GET /v1/{project_id}/logs |
录制管理接口
接口 |
说明 |
---|---|
POST /v1/{project_id}/record/rules |
|
GET /v1/{project_id}/record/rules |
|
PUT /v1/{project_id}/record/rules/{id} |
|
DELETE /v1/{project_id}/record/rules/{id} |
|
GET /v1/{project_id}/record/rules/{id} |
|
POST /v1/{project_id}/record/control |
|
POST /v1/{project_id}/record/indexes |
录制回调管理接口
接口 |
说明 |
---|---|
POST /v1/{project_id}/record/callbacks |
|
GET /v1/{project_id}/record/callbacks |
|
PUT /v1/{project_id}/record/callbacks/{id} |
|
GET /v1/{project_id}/record/callbacks/{id} |
|
DELETE /v1/{project_id}/record/callbacks/{id} |
HTTPS证书管理接口
接口 |
说明 |
---|---|
PUT /v1/{project_id}/guard/https-cert |
|
GET /v1/{project_id}/guard/https-cert |
|
DELETE /v1/{project_id}/guard/https-cert |
OBS桶管理接口
接口 |
说明 |
---|---|
PUT /v1/{project_id}/obs/authority |
数据统计分析接口
接口 |
说明 |
---|---|
GET /v2/{project_id}/stats/bandwidth/peak |
|
GET /v2/{project_id}/stats/traffic/summary |
|
GET /v2/{project_id}/stats/httpcodes |
|
GET /v2/{project_id}/stats/transcode |
|
GET /v2/{project_id}/stats/record |
|
GET /v2/{project_id}/stats/snapshot |
|
GET /v2/{project_id}/stats/up-bandwidth/detail |
|
GET /v2/{project_id}/stats/stream-count |
|
GET /v2/{project_id}/stats/history/streams |
|
GET /v2/{project_id}/stats/stream-portraits |
|
GET /v2/{project_id}/stats/area/detail |
|
GET /v2/{project_id}/stats/stream/play-info |
流监控接口
接口 |
说明 |
---|---|
GET /v2/{project_id}/stats/stream/framerate |
|
GET /v2/{project_id}/stats/stream/bitrate |
|
GET /v2/{project_id}/stats/stream-detail |
|
GET /v2/{project_id}/stats/up-stream/detail |