Update
PATCH
/api/v1/quiz/{quiz_id}
Update the quiz with the given id.
Args: data: The quiz to update. quiz_id: The id of the quiz in public-apis. user: The auth info used to check permissions.
Parameters
Path Parameters
quiz_id
required
string
Request Body required
object
data
required
Any of:
object
Array<object>
object
Responses
200
Successful Response
Represents a response with either a list of items or a single item in a single page.
Generic Parameters:
- A
(TypeVar): The type bound to this class, which can be a single BaseModel,
a list of BaseModels, or None.
Usage:
- To respond with an unpaginated list of FooResponse
items
from an API endpoint, ensure that your function
returns NonPaginatedResponse[List[FooResponse]]
.
- To respond with a single `FooResponse` item from an API endpoint,
make sure that your function returns `NonPaginatedResponse[FooResponse]`
and that Python recognizes it.
object
data
Any of:
Array<object>
object
object
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string