topics

Creates a new topic.

Changed on

Creates a new topic. The requestor has to be logged in and with role MENTOR or higher.

post/api/v1/topics

Request

  • The document declares no server URL.
  • Auth: API key in cookie token

Request body

namestring required
categoryIdstring required

Example request

{
  "name": "React Props"
}

Response

New topic created succesfully.

Changes

    • info

      api operation id postTopics was added

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • info

      added to the response body anyOf list for the response status

    • info

      removed the non-success response with the status