POST - Add comment(s) to a discussion, or update existing comment(s). Comments to be updated are distinguished from comments to be added to the discussion by the
presence of an id on the comment.
Produces - Specify a returned data format using the Accept
header.
Consumes - Specify the incoming data format using the
Content-Type
header.
Parameters
Name |
Type |
Description |
did |
path |
The Id of the discussion when doing an update |
body |
request-body |
The comments to be added or updated. |
Status Codes
- 201 - The creation of the comment was successful.
- 204 - The update of the comment was successful.
- 404 - The discussion for the comments was not found.
Comments
Path
/platform/discussions/discussions/{did}/comments
Description
The Comments resource provides the list of comments for a specific discussion.
Operations
GET - Read discussion comments.
Accept
header.POST - Add comment(s) to a discussion, or update existing comment(s). Comments to be updated are distinguished from comments to be added to the discussion by the presence of an id on the comment.
Accept
header.Content-Type
header.Example Requests
Related Links