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