跳到主要内容

Get access right of roles for VOD permission

GET 

https://api.one.blendvision.com/bv/cms/v1/vods/:id/permissions:role

Return the maximum access right of roles for the specified VOD resources.

Request

Path Parameters

    id stringrequired

    Required. The id of vod.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Responses

A successful response.

Schema
    access_role string

    Possible values: [ACCESS_ROLE_DENY, ACCESS_ROLE_SUPER_EDITOR, ACCESS_ROLE_EDITOR, ACCESS_ROLE_VIEWER]

    The maximum access role of the user for this vod resource.

Authorization: authorization

name: authorizationtype: apiKeydescription: Enter the token with Bearer schema prefix, eg. `Bearer <token-string>`in: header
curl -L 'https://api.one.blendvision.com/bv/cms/v1/vods/:id/permissions:role' \
-H 'Accept: application/json' \
-H 'authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://api.one.blendvision.com
Auth
Parameters
— pathrequired
— headerrequired
ResponseClear

Click the Send API Request button above and see the response here!