API Documentation
Quiz Submissions Multiplayer
Quiz Submissions Singleplayer
Share
Documents
Documents
Get recent documents
Get the 5 most recent documents from the database
GET
/
api
/
v1
/
documents
/
recent
curl --request GET \
--url http://localhost:8787/api/v1/documents/recent
{
"data": [
{
"id": 123,
"title": "<string>",
"type": "<string>",
"uploadDate": "<string>",
"size": "<string>",
"quizCount": 123,
"processingStatus": "pending"
}
]
}
Query Parameters
Response
200 - application/json
Documents fetched successfully
The response is of type object
.
curl --request GET \
--url http://localhost:8787/api/v1/documents/recent
{
"data": [
{
"id": 123,
"title": "<string>",
"type": "<string>",
"uploadDate": "<string>",
"size": "<string>",
"quizCount": 123,
"processingStatus": "pending"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.