Discussion

Description

The Discussion resource is used to read and to delete a discussion.

Data Formats

Readable

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

Writable

If you POST something, specify the data format 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

HEAD - Read the headers for a discussion.

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

GET - Read a discussion.

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

POST - Update a discussion.

Status Codes
204 The update was successful.
404 If the requested discussion is not found.

DELETE - Delete a discussion.

Status Codes
204 The delete was successful.
404 If the requested discussion is not found.

Example Requests

Create Discussion How to create a discussion.
Create Comment How to add a comment to a discussion.
Read Discussion How to read a discussion.
Read Comments How to read the comments of a discussion.
Update Discussion How to update a discussion.
Update Comment How to update a comment.
Delete Discussion How to delete a discussion.
Delete Comment How to delete a comment.
x

Select a language