cms_pages
POST `/api/v0/cms/pages/:page_id/exercises-with-submissions` - Given a set of exercise ids, returns the subset that has at least one existing submission. Used by the editor to warn the teacher before saving a page edit that would remove one of these exercises, since that soft-deletes it and orphans its submissions.
Changed onpost/api/v0/cms/pages/{page_id}/exercises-with-submissions
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
page_idstring uuid required
Page id
Request body
string[] required
Response
Exercise ids, among the given ones, that have submissions
string[] required
Changes
- ○
endpoint added
- ○