Post

So many changes will be made here as we perfect the wording of posts and replies and how they interact with one another.

Get Post

GET /post/{UUID}

Scopes

post.get / reply.get

Response

{
    "uuid": "string",
    "parent": ,
    "author": {"user object"},
    "content": "string",
    "from": {"application object"},
    "locked": "boolean",
    "replies": 
}

Send Post

POST /post

Scopes

post.get, post.send / reply.get, reply.post

Body

Name
Type
Notes

content

String

Max 500 Characters

locked

Boolean

parent

String

The ID of the post you want to reply too

Response

{
    "uuid": "string",
    "parent": ,
    "author": {"user object"},
    "content": "string",
    "from": {"application object"},
    "locked": "boolean",
    "replies": 
}

Update Post

PATCH /post/{UUID}

Scopes

post.get, post.edit / reply.get, reply.edit

Body

Name
Type
Notes

content

String

Max 500 Characters

locked

Boolean

Response

{
    "post object"
}

Delete Post

DELETE /post/{UUID}

Scopes

post.get, post.delete / reply.get, reply.delete

Response

{
    "post object"
}

Like/Unlike

POST /like/{UUID}

Scopes

post.get, post.like / reply.get, reply.like

Response

{
    "action": "liked",
    "uuid": "string"
}
{
    "action": "unliked",
    "uuid": "string"
}

Last updated