Chapters

Updates a chapter's title or position. A position moves the chapter to that index and renumbers the other chapters from 0; a position past the end moves it last.

patch/chapters/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Request body

ChapterRequest required
title, string

Chapter title (defaults to "Chapter N")

position, integer

Zero-based ordinal among the course's chapters

Response

Chapter updated

Chapter required
id, string required
object, string required
title, string required
position, integer required
lessons, Lesson[] required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision