v1

latestOpenAPI 3.0.32026-08-061874701.5 MB
discussions

Get discussion

Gets the discussion specified by discussionId.

get/sheets/{sheetId}/discussions/{discussionId}

Response

SUCCESS

accessLevel'ADMIN' | 'COMMENTER' | 'EDITOR' | 'EDITOR_SHARE' | 'OWNER' | 'VIEWER'
idnumber

Discussion ID.

commentCountnumber

Number of comments in the discussion.

parentIdnumber

The ID of the associated row or sheet.

parentType'ROW' | 'SHEET'

Type of parent object.

readOnlyboolean

Indicates whether the user can modify the discussion.

titlestring

Title automatically created by duplicating the first 100 characters of top-level comment.

Example response

{
  "comments": [
    {
      "attachments": [
        {
          "mimeType": "PNG",
          "createdBy": {
            "email": "jane.doe@smartsheet.com",
            "name": "Jane Doe"
          }
        }
      ],
      "createdBy": {
        "email": "jane.doe@smartsheet.com",
        "name": "Jane Doe"
      }
    }
  ],
  "commentAttachments": [
    {
      "mimeType": "PNG",
      "createdBy": {
        "email": "jane.doe@smartsheet.com",
        "name": "Jane Doe"
      }
    }
  ],
  "createdBy": {
    "email": "jane.doe@smartsheet.com",
    "name": "Jane Doe"
  },
  "lastCommentedUser": {
    "email": "jane.doe@smartsheet.com",
    "name": "Jane Doe"
  }
}