cURL
documentId
Get documentv1beta1 vieweractions
Lists the viewer actions applicable to a document.
GET
cURL
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The ID of the document
Query Parameters
The ID of the version. Leave empty to use the default version (equivalent to value 'HEAD'), i.e. the draft if it exists and if the user has access to it (equivalent to value 'DRAFT'), else the main version (equivalent to value 'COMMITTED'). Custom ID of past versions are not supported.
The security code
The G Suite domain
Response
200 - application/json
A ApiViewerActionCollection response
An ordered list of ApiViewerAction