Skip to main content
GET
/
document
/
v1beta1
/
{documentId}
/
viewerActions
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/document/v1beta1/{documentId}/viewerActions \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "async": true,
      "displayName": "<string>",
      "id": "<string>",
      "kind": "<string>",
      "name": "<string>",
      "scriptId": "<string>",
      "scriptName": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

documentId
string
required

The ID of the document

Query Parameters

versionId
string
default:HEAD

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.

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiViewerActionCollection response

An ordered list of ApiViewerAction

items
object[]