Get a collection of comment category summaries

get/documents/{objectTypeName}/{objectId}/comments/categories

Retrieves a collection of comment category summaries by object type and ID.

Request Samples

1

Response Samples

1[
2 {
3 "category": "ExampleCategory",
4 "count": 2
5 },
6 {
7 "category": "ExampleCategory2",
8 "count": 1
9 }
10]

Path Parameters

NameTypeRequiredDescription
objectId
string
true

The ID of the object from which to get the comments.

objectTypeName
string
true

The name of the object type to which the object belongs.

Responses

StatusMeaningDescription
200OK

The request succeeded.

Schema
400Bad Request

The objectTypeName or ID was null or empty.

Schema
404Not Found

The object was not found or the user did not have permission to view it.

Schema