A quiz module can be restarted if it was completed by the current API user with the “failed” status (the earned score is less than the required one) and if the number of possible attempts is not reached yet. To restart a module,Documentation Index
Fetch the complete documentation index at: https://docs.opigno.com/llms.txt
Use this file to discover all available pages before exploring further.
restartContentAttempt mutation should be executed.
All necessary parameters will be returned in RESTART_EDGE CTA data when execute getLearningPath query:
restartContentAttempt mutation
| Argument | Type | Description |
|---|---|---|
edgeRid | ID | Required; contains the module edge ID. |
lpAttemptContextId | ID | Required; contains the corresponding attempt context ID. |
RestartContentAttemptResponse object:
| Property | Type | Description |
|---|---|---|
errors | [Violation] | Contains the list of validation errors, if there are any. |
response | Attempt | The created attempt object. |