furbooru / philomena

Next-generation imageboard (furry edition)
https://furbooru.org/
GNU Affero General Public License v3.0
14 stars 3 forks source link

add post creation via the API #12

Open Xe opened 4 years ago

Xe commented 4 years ago

Before you begin


This offers the following routes (given as a RFC 6570 URL template):

route why needs
POST /api/v1/json/forums/{forum_slug}/topics/{topic_slug}/posts Creates a new post in a forum by slug's thread by slug ?key={your_api_key} and {"post": {"body": "textile markup", "anonymous": true/false}} as the body

This also announces new forum posts to the Firehose API like they would be if they were made using the web UI.