Skip to main content
GET
/
document
/
v1beta1
/
{documentId}
/
comments
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/document/v1beta1/{documentId}/comments \
  --header 'Authorization: Bearer <token>'
{
  "comments": [
    {
      "actionAppliedName": "<string>",
      "actionAppliedName_i18n": "<string>",
      "author": {
        "email": "<string>",
        "kind": "<string>",
        "name": "<string>",
        "nonGoogle": true,
        "thumbnailPictureUrl": "<string>"
      },
      "createdTime": "2023-11-07T05:31:56Z",
      "fromStateName": "<string>",
      "fromStateName_i18n": "<string>",
      "id": "<string>",
      "kind": "<string>",
      "message": "<string>",
      "modifiedTime": "2023-11-07T05:31:56Z",
      "parallelValidationStatus": "PENDING",
      "replies": [
        {
          "author": {
            "email": "<string>",
            "kind": "<string>",
            "name": "<string>",
            "nonGoogle": true,
            "thumbnailPictureUrl": "<string>"
          },
          "createdTime": "2023-11-07T05:31:56Z",
          "id": "<string>",
          "kind": "<string>",
          "message": "<string>",
          "modifiedTime": "2023-11-07T05:31:56Z"
        }
      ],
      "toStateName": "<string>",
      "toStateName_i18n": "<string>"
    }
  ],
  "kind": "<string>",
  "nextPageToken": "<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

limit
integer<int32>
default:50

The maximum number of comments per page. (Default: 50)

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.

domain
string

The G Suite domain

securityCode
string

The security code

Response

200 - application/json

A ApiCommentList response

comments
object[]
kind
string
nextPageToken
string