Admin: Course Categories

Create a course category. A uniqueness violation (name/header/slug) is a DB constraint, surfaced as 409 by the central ent-error handler.

post/api/admin/course_categories

Request

  • The document declares no server URL.
  • Auth: API key in cookie JWT and API key in header X-XSRF-TOKEN

Request body

namestring required
headerstring required
slugstring required
descriptionstring nullable required

Response

The request has succeeded and a new resource has been created as a result.

idinteger required
slugstring nullable required
namestring nullable required
headerstring nullable required
descriptionstring nullable required
localestring nullable required
createdAtstring date-time required

Changes