Forum Categories
These are very poorly documented as the routes are admin only, typically only respond with html (unless an error shows up), and are extremely unpredictable. They have only been included to completely
GET /forum_categories does not support JSON
Create Forum Category
POST
https://e621.net/forum_categories.json
Authorization Required
Admin+ Required
Due to this being admin only and typically ui based, there are no standard responses for errors or otherwise.
Request Body
Name | Type | Description |
---|---|---|
forum_category[name]* | String | The name of the category. |
forum_category[description] | String | The description of the category. |
forum_category[can_create] | Number | The level users must be to create topics in the category. |
forum_category[can_reply] | Number | The level users must be to reply to topics in the category. |
forum_category[can_view] | Number | The level users must be to view topics in the category. |
forum_category[cat_order] | Number | The sorting order of the category. |
Edit Forum Category
PATCH
https://e621.net/forum_categories/{id}.json
Authorization Required
Admin+ Required
Due to this being admin only and typically ui based, there are no standard responses for errors or otherwise.
Path Parameters
Name | Type | Description |
---|---|---|
id* | Number | The ID of the category to edit. |
Request Body
Name | Type | Description |
---|---|---|
forum_category[name] | String | The name of the category. |
forum_category[description] | String | The description of the category. |
forum_category[can_create] | Number | The level users must be to create topics in the category. |
forum_category[can_reply] | Number | The level users must be to reply to topics in the category. |
forum_category[can_view] | Number | The level users must be to view topics in the category. |
forum_category[cat_order] | Number | The sorting order of the category. |
Delete Forum Category
DELETE
https://e621.net/forum_categories/{id}.json
Authorization Required
Admin+ Required
As far as I can tell, there is no way to use this from the ui, so forum categories are not meant to be deleted.
This route does not support json, and as such will return a 406 Unacceptable error. The category will still be deleted.
Path Parameters
Name | Type | Description |
---|---|---|
id* | Number | The ID of the category to delete. |
Last updated