GET api/Collaboration/GetCommentThreads?itemId={itemId}&revisionId={revisionId}&resolved={resolved}

Getting comment threads for the specified Media Item version

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemId

Media item ID

integer

Required

revisionId

Version ID

integer

None.

resolved

Include resolved threads into the result

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Result containing comment threads

ObjResultOfCommentThreadsOutcome[]
NameDescriptionTypeAdditional information
Data

Collection of CommentThreadsOutcome

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "geometryId": 1,
      "geometry": "sample string 2",
      "resolved": true,
      "commentsRead": true,
      "subscribed": true
    },
    {
      "geometryId": 1,
      "geometry": "sample string 2",
      "resolved": true,
      "commentsRead": true,
      "subscribed": true
    }
  ],
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}