Comments

Description

The Comments resource provides the list of comments for a specific discussion.

Data Formats

If you make a GET request, specify the data format using the Accept header.

If you POST something, specify the media type using the Content-Type header.

Parameters

Name Type Description
Authorization header The authorization carrying the OAuth 2.0 access token. See OAuth 2.0 Bearer Tokens.
did path The id of the discussion.
access_token query The ID of the OAuth 2 access token used for identification and authorization of the user (and agent) making the request.

Operations

GET - Read comments.

Status Codes
200 Upon a successful read.
404 If the requested discussion is not found.

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.

Status Codes
204 The operation was successful.
404 If the discussion for the comments is not found.

Example Requests

Create Comment How to add a comment to a discussion.
Read Comments How to read the comments of a discussion.