支持 聯繫支持 | 系統狀況 系統狀態
頁面內容

    客戶端憑據請求的API操作

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

    概述

    本文檔詳細介紹了可從不同API獲得的操作。 向OAuth服務發送請求時需要這些 客戶憑證.

    注意:對於某些API,還可以使用OAuth憑據UI獲取客戶端憑據。 有關使用OAuth UI的說明,請參見以下文檔。

    操作

    下表顯示了當前支持的操作選項:

    API操作
    API 操作
    Analytics API video-cloud/analytics/read
    Audience API video-cloud/audience/read
    video-cloud/audience/write
    Player Management API video-cloud/player/read
    video-cloud/player/all
    Dynamic Ingest API / Ingest Profiles API video-cloud/video/all
    video-cloud/ingest-profiles/profile/read
    video-cloud/ingest-profiles/profile/write
    video-cloud/ingest-profiles/account/read
    video-cloud/ingest-profiles/account/write
    video-cloud/upload-urls/read
    In-Page Experience API video-cloud/experience/read
    video-cloud/experience/all
    CMS API [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
    Social API video-cloud/social/api/read
    SSAI API video-cloud/video/read
    video-cloud/video/all

    操作和Studio等效項

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

    Studio中的API操作
    Studio中的API操作

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

    操作和Studio等價物
    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/video/read CMS -> Video Read
    video-cloud/video/create Dynamic Ingest -> Create
    video-cloud/video/all
    or
    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
    or
    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
    or
    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
    API操作
    API 操作
    Player Management API perform/player/all

    筆記

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

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


    頁面最後更新於12年2020月XNUMX日