用戶端認證要求的 API 作業

在本主題中,您將了解您可能希望使用的不同 API 可用的操作(類似權限)。當您向 OAuth 服務提出請求時,您將需要這些操作。

概覽

本文件詳細介紹了從不同 API 可用的操作。當您向 OAuth 服務發出請求時需要這些客戶憑據 .

注意:對於某些 API,客戶端憑據也可以使用 OAuth 憑據 UI 獲得。如需使用 OAuth UI 的指示,請參閱下列文件。

作業

下表顯示目前支援的作業選項:

API 作業
API 作業 工作室版本
分析API video-cloud/analytics/read
受眾群體API video-cloud/audience/read
video-cloud/audience/write
雲播放API video-cloud/cloud-playout/read
video-cloud/cloud-playout/all
內容管理系統接口[1-1] video-cloud/video/read
video-cloud/video/create
video-cloud/video/update
video-cloud/video/delete
video-cloud/video/all
video-cloud/asset/delete
video-cloud/playlist/read
video-cloud/playlist/create
video-cloud/playlist/update
video-cloud/playlist/delete
video-cloud/playlist/all
video-cloud/sharing-relationships/read
video-cloud/sharing-relationships/create
video-cloud/sharing-relationships/update
video-cloud/sharing-relationships/delete
video-cloud/sharing-relationships/all
video-cloud/notifications/all
動態攝取 API [1-1] video-cloud/video/all
video-cloud/ingest-profiles/profile/read
video-cloud/ingest-profiles/account/read
video-cloud/upload-urls/read
提取配置文件API video-cloud/ingest-profiles/profile/read
video-cloud/ingest-profiles/profile/write
video-cloud/ingest-profiles/account/read
video-cloud/ingest-profiles/account/write
頁內體驗API video-cloud/experience/read
video-cloud/experience/all
播放授權密鑰 video-cloud/playback-auth/key/read
video-cloud/playback-auth/key/write
黑名單API video-cloud/playback-auth/blacklist
審計API video-cloud/playback-auth/audit
播放權限API video-cloud/playback-auth/playback-rights/read
video-cloud/playback-auth/playback-rights/write
播放器管理API video-cloud/player/read
video-cloud/player/all
社交API video-cloud/social/api/read
video-cloud/social/mrss/read
video-cloud/social/mrss/write
SSAI API video-cloud/ssai/read
video-cloud/ssai/all

作業與工作室等效項目

為了簡化非開發人員權限的選擇,Studio 中的 API 身份驗證用戶界面表示它們不同於它們在 API 操作中命名的方式:

工作室中的 API 操作
工作室中的 API 操作

下表顯示了 Studio API 身份驗證頁面中的 API 操作及其對等項目。

作業與工作室等效項目
API 操作 錄音室等效
video-cloud/analytics/read Analytics -> Read
video-cloud/audience/read Audience -> Read
video-cloud/audience/read + video-cloud/audience/write Audience -> Read/Write
video-cloud/cloud-playout/read Cloud Playout -> Read
video-cloud/cloud-playout/all Cloud Playout -> Read/Write
video-cloud/video/read CMS -> Video Read
video-cloud/video/create Dynamic Ingest -> Create
video-cloud/video/all
或者
video-cloud/video/read + video-cloud/video/create + video-cloud/video/update + video-cloud/video/delete
CMS -> Video Read/Write
video-cloud/playlist/read CMS -> Playlist Read
video-cloud/playlist/all
或者
video-cloud/playlist/read + video-cloud/playlist/create + video-cloud/playlist/update + video-cloud/playlist/delete
CMS -> Playlist Read/Write
video-cloud/asset/delete 沒有對等
video-cloud/sharing-relationships/read CMS -> Sharing Relationships Read
video-cloud/sharing-relationships/all
或者
video-cloud/sharing-relationships/read + video-cloud/sharing-relationships/create + video-cloud/sharing-relationships/update + video-cloud/sharing-relationships/delete
CMS -> Sharing Relationships Read/Write
video-cloud/notifications/all CMS -> Notifications
video-cloud/upload-urls/read Dynamic Ingest -> Push Files
video-cloud/experience/read In-Page Experiences -> Read
video-cloud/experience/all In-Page Experiences -> Read/Write
video-cloud/ingest-profiles/profile/read Ingest Profile -> Read
video-cloud/ingest-profiles/profile/read + video-cloud/ingest-profiles/profile/write Ingest Profile -> Read/Write
video-cloud/ingest-profiles/account/read Ingest Profile -> Configuration Read
video-cloud/ingest-profiles/account/read + video-cloud/ingest-profiles/account/write Ingest Profile -> Configuration Read/Write
video-cloud/player/read Players -> Read
video-cloud/player/all Players -> Read/Write
video-cloud/playback-auth/key/read Playback Auth Key -> Read
video-cloud/playback-auth/key/write Playback Auth Key -> Write
video-cloud/social/api/read Social -> Status Read
video-cloud/social/mrss/read Social -> MRSS Read
video-cloud/social/mrss/write Social -> MRSS Write
video-cloud/ssai/read SSAI -> Read
video-cloud/ssai/all SSAI -> Read/Write
API 作業
API 作業
播放器管理API perform/player/all

注意事項

  • [1-1] video權限包括相應的權限asset操作 - 即/video/all給你所有的權限資產運營(對操作CMS API端點/accounts/{account_id}/videos/{video_id}/assets/...), /video/read授予您資產讀取操作等權限。

有關使用 curl 或 Postman 獲取客戶端憑據的詳細指南,請參閱: