Super Admin Academy

Create a new academy chapter

Changed on

Create a new chapter appended after the last position. Only accessible to super admins.

post/super-admin/academy/chapters

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

titlestring required

The title of the chapter

descriptionstring required

A description of what the chapter covers

Example request

{
  "title": "Getting Started",
  "description": "Learn the basics of working with Ayunis Core."
}

Response

Successfully created chapter

idstring uuid required

The unique identifier of the chapter

titlestring required

The title of the chapter

descriptionstring required

A description of what the chapter covers

positioninteger required

The position of the chapter (0-based)

createdAtstring date-time required

The date the chapter was created

updatedAtstring date-time required

The date the chapter was last updated

Example response

{
  "title": "Getting Started",
  "description": "Learn the basics of working with Ayunis Core.",
  "courseModules": [
    {
      "title": "Creating your first chat",
      "description": "A short walkthrough of the chat interface.",
      "loomUrl": "https://www.loom.com/share/abc123def456"
    }
  ]
}

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status