/comment/{comment-id}
Represents an individual comment attached to a post.
GET /comment/{comment-id} HTTP/1.1
Host: localhost:3000
Name | Description | Type |
---|---|---|
|
The comment ID. |
|
|
The message of the comment. |
|
|
The ID of the |
|
|
The ID of the |
|
|
The date that indicates when the comment was created. |
|
|
The date that indicates when the comment was updated for the last time. |
|
You can publish comments by using the /post/comments
edge.
PUT /comment/{comment-id} HTTP/1.1
Host: localhost:3000
manage_speaking
permission is required.Name | Description | Type |
---|---|---|
|
The message of the comment. |
|
If successful :
{
"success": true
}
Otherwise a relevant error message will be returned.
DELETE /comment/{comment-id} HTTP/1.1
Host: localhost:3000
manage_speaking
permission is required.No fields are required.
If successful :
{
"success": true
}
Otherwise a relevant error message will be returned.
No edges.