Number of APIs: 4
GET {{baseUrl}}/collections/{{collectionUid}}/folders/{{folderUid}}/comments
Gets all comments left by users in a folder.
POST {{baseUrl}}/collections/{{collectionUid}}/folders/{{folderUid}}/comments
Creates a comment on a folder. Include the following in request body: Note: This endpoint accepts a max of 10,000 characters.
body
— (Required) A string that contains the comment.tags
— An object that contains information about users tagged in the body
comment. Include the following in this object:
userName
— (Required) An object that contains information about the tagged user. The object's name is the user's Qodex username. For example, @user-Qodex
. Include the following in this object:
type
— (Required) A string that contains the user
value.id
— (Required) An integer that contains the user's ID.
PUT {{baseUrl}}/collections/{{collectionUid}}/folders/{{folderUid}}/comments/{{commentId}}
Updates a comment on a folder. Include the following in request body: Note: This endpoint accepts a max of 10,000 characters.
body
— (Required) A string that contains the comment.tags
— An object that contains information about users tagged in the body
comment. Include the following in this object:
userName
— (Required) An object that contains information about the tagged user. The object's name is the user's Qodex username. For example, @user-Qodex
. Include the following in this object:
type
— (Required) A string that contains the user
value.id
— (Required) An integer that contains the user's ID.
DELETE {{baseUrl}}/collections/{{collectionUid}}/folders/{{folderUid}}/comments/{{commentId}}
Deletes a comment from a folder. On success, this returns an HTTP Note: Deleting the first comment of a thread deletes all the comments in the thread.204 No Content
response.
ENDPOINTS