-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
The public template view for a quiz sends the user response to this API.
This is also a public view and should not have session authentication but the JWT token sent via the payload should be validated that the sent_item_id in JWT payload are signed by DJANGO_SECRET_KEY and the signature is valid.
It should also check that the enrollment status is active and the learner has not already submitted this quiz.
Payload:
- responses: List[Response]
- jwt: str
Response Type:
- question_id
- chosen_answer_id
The response should contain the score, if the user pass or not and also the required score to pass the quiz.
Response Payload:
- passed: bool
- score: int
- required_score
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog