VOD API 参考

VOD API。

共 17 个端点,其中 5 个只读。每一个都同时是 orbit 命令行中的命令、SDK 中的方法和 MCP 服务器上的工具。

01

assets

端点权限参数CLI · MCP 工具
GET /vod/assets
List videos
只读?limit integer
?offset integer
?state uploading | processing | ready | failed
orbit vod assets list
vod_assets_list
POST /vod/assets
Create a video, then upload the original into it
读写请求体: title string, description string, tags object, visibility public | unlisted | privateorbit vod assets create
vod_assets_create
GET /vod/assets/{id}
One video, with transcode progress while it is processing
只读id stringorbit vod assets get <id>
vod_assets_get
PATCH /vod/assets/{id}
Change a video's title, description, tags or visibility
读写id string
请求体: title string, description string, tags object, visibility public | unlisted | private
orbit vod assets update <id>
vod_assets_update
DELETE /vod/assets/{id}
Delete a video and everything stored for it
读写id stringorbit vod assets delete <id>
vod_assets_delete
POST /vod/assets/{id}/reprocess
Encode the original again with the ladder your packs allow today
读写id stringorbit vod assets reprocess <id>
vod_assets_reprocess
GET /vod/assets/{id}/renditions
The qualities this video was encoded into
只读id stringorbit vod assets renditions <id>
vod_assets_renditions
POST /vod/assets/{id}/playback
A playback address — signed and expiring for a private video
读写id string
请求体: expires_in integer
orbit vod assets playback <id>
vod_assets_playback
02

upload

端点权限参数CLI · MCP 工具
POST /vod/assets/{id}/upload
Start a resumable upload of the original
读写id string
请求体: size* integer, content_type string, filename string
orbit vod upload begin <id>
vod_upload_begin
PUT /vod/assets/{id}/upload/{upload_id}/parts/{n}
Send one part. The body is the bytes, not JSON.
读写id string
upload_id string
n integer
请求体:原始字节
orbit vod upload part <id> <upload_id> <n>
vod_upload_part
POST /vod/assets/{id}/upload/{upload_id}/complete
Seal the upload and queue the transcode
读写id string
upload_id string
orbit vod upload complete <id> <upload_id>
vod_upload_complete
03

keys

端点权限参数CLI · MCP 工具
GET /vod/keys
Playback signing keys
只读—orbit vod keys list
vod_keys_list
POST /vod/keys
Mint a playback signing key (the secret is shown once)
读写请求体: note stringorbit vod keys create
vod_keys_create
DELETE /vod/keys/{key_id}
Revoke a playback key
读写key_id stringorbit vod keys delete <key_id>
vod_keys_delete
04

webhooks

端点权限参数CLI · MCP 工具
GET /vod/webhooks
VOD event endpoints
只读—orbit vod webhooks list
vod_webhooks_list
POST /vod/webhooks
Register a VOD event endpoint (stored now; delivery is not switched on yet)
读写请求体: url* string, events string[], note stringorbit vod webhooks create
vod_webhooks_create
DELETE /vod/webhooks/{hook_id}
Remove a VOD event endpoint
读写hook_id integerorbit vod webhooks delete <hook_id>
vod_webhooks_delete
继续

相关文档

账户 API 参考

Orbit API 中 账户 的全部 10 个端点:方法与路径、所需令牌权限、参数,以及对应的命令行命令与 MCP 工具。

组织 API 参考

Orbit API 中 组织 的全部 10 个端点:方法与路径、所需令牌权限、参数,以及对应的命令行命令与 MCP 工具。

服务 API 参考

Orbit API 中 服务 的全部 15 个端点:方法与路径、所需令牌权限、参数,以及对应的命令行命令与 MCP 工具。

← 全部文档