Create Comment
comments
Create Comment
POST
Create Comment
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Body
application/vnd.api+json
Top-level envelope for POST /api/comments.
Shape: { "data": { "type": "comments", "attributes": { ... } } }
JSON:API resource wrapper for a create request.
Response
Successful Response
Single-item JSON:API envelope for a comment.
Shape: { "data": }
JSON:API resource object for a comment.
Shape: { "type": "comments", "id": "", "attributes": { ... }, "links": { "self": "/api/comments/" } }