course-material-exercises

POST `/api/v0/course-material/exercises/:exercise_id/submissions` - Post new submission for an exercise. # Example ```http POST /api/v0/course-material/exercises/:exercise_id/submissions HTTP/1.1 Content-Type: application/json { "exercise_slide_id": "0125c21b-6afa-4652-89f7-56c48bd8ffe4", "exercise_task_answers": [ { "exercise_task_id": "0125c21b-6afa-4652-89f7-56c48bd8ffe4", "answer": { "kind": "json", "data": { "selectedOptionId": "8f09e9a0-ac20-486a-ba29-704e7eeaf6af" } } } ] } ```

Changed on
post/api/v0/course-material/exercises/{exercise_id}/submissions

Request

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

Path parameters

exercise_idstring uuid required

Exercise id

Request body

exercise_slide_idstring uuid required

Response

Submission result

Changes

    • ○

      added the new optional request property //

    • ○

      added the new optional request property //

    • ○

      the request property // became optional

    • ○

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

    • ○

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

    • ●

      added the new NotAnsweredAndLocked enum value to the ///// response property for the response status