pages
POST `/api/v0/main-frontend/pages` - Create a new page. 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: Request: ```http POST /api/v0/main-frontend/pages HTTP/1.1 Content-Type: application/json { "content": [ { "type": "x", "id": "2a4e517d-a7d2-4d82-89fb-a1333d8d01d1" } ], "url_path": "/part-2/best-page", "title": "Hello world!", "course_id": "10363c5b-82b4-4121-8ef1-bae8fb42a5ce", "chapter_id": "2495ffa3-7ea9-4615-baa5-828023688c79" } ```
Changed onpost/api/v0/main-frontend/pages
Request
- The document declares no server URL.
- Auth: none declared
Request body
Response
Created page
Changes
- ○
added the new optional request property
//
- ○
- ▲
added the new required request property
- ▲