Quiz
List all quizzes
Get a list of all quizzes from the school’s private library
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
POST
/
public
/
get-all-quizzes
curl --request POST \
--url https://backend.codedamn.com/api/public/get-all-quizzes \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '{
"data": [
{
"data": {
"pageNumber": 2,
"limit": 50.5
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"result": {
"paginationMetadata": {
"totalResultCount": 123,
"totalPageCount": 123
},
"quizzes": [
{
"quizId": "<string>",
"createdAtIso": "2023-11-07T05:31:56Z",
"title": "<string>"
}
]
}
}
}
}
]
Authorizations
Body
application/json
API Request Body
The body is of type object
.
Response
200 - application/json
API Response Body
The response is of type object[]
.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-all-quizzes \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '{
"data": [
{
"data": {
"pageNumber": 2,
"limit": 50.5
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"result": {
"paginationMetadata": {
"totalResultCount": 123,
"totalPageCount": 123
},
"quizzes": [
{
"quizId": "<string>",
"createdAtIso": "2023-11-07T05:31:56Z",
"title": "<string>"
}
]
}
}
}
}
]
Assistant
Responses are generated using AI and may contain mistakes.