Save quiz question
Creates or updates a single question within a quiz, given the quiz and question UIDs and the question's content.
PATCH
/++saveQuizQuestion
Question Bank
Authentication
Requires an authenticated (logged-in) account. Also requires a registered Integrator subscription.
This endpoint requires the calling application to be registered as an Integrator. Every call must identify the registration via a registration_id parameter (or an X-Client-Id header), and authenticate using one of the following methods, selected with the subscription_method parameter:
-
referer— The request's HTTP Referer header must match one of the domains authorized for this Integrator registration. -
ip— The request's source IP address must match one of the IP addresses authorized for this Integrator registration. -
client_token— A client token issued at registration time is supplied with the request.
Register as an Integrator and configure authorized domains, IP addresses, or a client token.
Request
Content type: application/json
| Name | In | Type | Required | Description |
|---|---|---|---|---|
QUERY_STRING | body | string | No | — |
BODY | body | string | No | — |
rich_details | body | string | No | — |
explanation | body | string | No | — |
question_uid | query | string | No | Sent by the web client (found via frontend call-site tracing). |
quiz_uid | query | string | No | Sent by the web client (found via frontend call-site tracing). |
Example request body
{
"QUERY_STRING": "example_value",
"BODY": "example_value",
"rich_details": "A brief description goes here.",
"explanation": "standard"
}
Responses
| Status | Meaning |
|---|---|
200 | Successful response. |
400 | Missing quiz uid |
403 | You cannot save a question not contained in the quiz |
500 | Unknown error |
401 | Unauthorized - missing or invalid Integrator authentication (registration_id/X-Client-Id, plus referer/IP/client_token). |
