Categories

Creates a category

Changed on
post/categories.json

Request

  • Base URL
    https://discourse.example.com
  • Auth
    none declared

Request body

namestring required
colorstring
text_colorstring
style_typestring
emojistring
iconstring
parent_category_idinteger
allow_badgesboolean
slugstring
topic_featured_links_allowedboolean
search_priorityinteger

Example request

{
  "color": "49d9e9",
  "text_color": "f0fcfd",
  "permissions": {
    "everyone": 1
  }
}

Response

success response

Changes

    • info

      added the required property /// to the response with the status

    • info

      added the optional property / to the response with the status