Skip to main content
GET
/
document
/
v1beta1
/
activities
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/document/v1beta1/activities \
  --header 'Authorization: Bearer <token>'
{
  "activities": [
    {
      "attachmentId": "<string>",
      "attachmentName": "<string>",
      "author": {
        "email": "<string>",
        "kind": "<string>",
        "name": "<string>",
        "nonGoogle": true,
        "thumbnailPictureUrl": "<string>"
      },
      "comment": "<string>",
      "deleteReason": "<string>",
      "deleted": true,
      "deletionDate": "2023-11-07T05:31:56Z",
      "documentId": "<string>",
      "documentTitle": "<string>",
      "id": "<string>",
      "kind": "<string>",
      "newVersion": {
        "createdByCheckin": true,
        "description": "<string>",
        "id": "<string>",
        "name": "<string>"
      },
      "rename": {
        "newName": "<string>",
        "oldName": "<string>"
      },
      "restoredVersion": {
        "createdByCheckin": true,
        "description": "<string>",
        "id": "<string>",
        "name": "<string>"
      },
      "stateChange": {
        "comment": "<string>",
        "sourceState": {
          "id": "<string>",
          "name": "<string>",
          "name_i18n": "<string>"
        },
        "targetState": {
          "id": "<string>",
          "name": "<string>",
          "name_i18n": "<string>"
        },
        "transition": {
          "forcedParallelTransition": true,
          "humanAction": {
            "appliedName": "<string>",
            "appliedName_i18": "<string>",
            "id": "<string>"
          },
          "id": "<string>"
        },
        "trigger": "SIMPLE_VALIDATION"
      },
      "timestamp": "2023-11-07T05:31:56Z",
      "type": "DOCUMENT_CREATED"
    }
  ],
  "kind": "<string>",
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

libraryId
string
required

The ID of the library

documentId
string

The ID of the document

removeSimilarDocumentUpdates
boolean
default:false

Whether the document update activities should be removed if made by the same user on the same document version within the same hour. (Default: false)

limit
integer<int32>
default:10

The maximum number of items to return

nextPageToken
string

DEPRECATED. Use pageToken instead.

pageToken
string

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiDocumentActivities response

activities
object[]
kind
string
nextPageToken
string