cms_pages

PUT `/api/v0/cms/pages/:page_id` - Update a page by id. Please note that this endpoint will change all the exercise and exercise task ids you've created. Make sure the use the updated ids from the response object. If optional property front_page_of_chapter_id is set, this page will become the front page of the specified course part. # Example: OUTDATED Request: ```http PUT /api/v0/cms/pages/40ca9bcf-8eaa-41ba-940e-0fd5dd0c3c02 HTTP/1.1 Content-Type: application/json { "content": [{"type": "x"}], "url_path": "/part-1/hello-world", "title": "Hello world!", "chapter_id": "2495ffa3-7ea9-4615-baa5-828023688c79" } ```

Changed on
put/api/v0/cms/pages/{page_id}

Request

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

Path parameters

page_idstring uuid required

Page id

Request body

chapter_idstring uuid nullable
hiddenboolean required
titlestring required
url_pathstring required

Response

Updated CMS page

organization_idstring uuid required

Changes

    • ○

      added the new optional request property //

    • ○

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

    • ▲

      added the new required request property