Reply
info
Everything here can be done with the posts API. These endpoints are to help you easily understand the difference between a post and a reply.
Get Reply
GET /reply/{UUID}
Scopes
reply.get
Response
- 200
{
"uuid": "string",
"parent": "string",
"author": "string",
"content": "string",
"from": "string",
"lock": "boolean",
"replies": {"post object"}
}
Send Reply
POST /reply
Scopes
reply.get,reply.post
Body
| Name | Type | Notes |
|---|---|---|
| content | String | Max 500 Characters |
| lock | Boolean | |
| from | String | Can be left as null |
| parent | String | read about Replies |
Response
- 200
{
"uuid": "string",
"parent": "string",
"reply": {"post object"}
}
Update Reply
PATCH /reply/{UUID}
Scopes
reply.get,reply.edit
Body
| Name | Type | Notes |
|---|---|---|
| content | String | Max 500 Characters |
| lock | Boolean |
Response
- 200
{
"uuid": "string",
"reply": {"post object"}
}
Delete Reply
DELETE /reply/{UUID}
Scopes
reply.get,reply.delete
Response
- 200
{
"uuid": "string",
"reply": {"post object"}
}
Like/Unlike
PUT /like/{UUID}
Scopes
reply.get,reply.like
Response
- 200
{
"_message": "string"
}