Retrieves paginated list of presentations with thumbnails.
Query parameters
-
Page number
Minimum value is
1. Default value is1. -
Number of presentations per page (1-100)
Minimum value is
1, maximum value is100. Default value is10. -
Filter presentations by title (case-insensitive search)
Maximum length is
100. -
Sort order - ascending (asc) or descending (desc)
Values are
ascordesc. Default value isasc.
GET
/presentations
curl \
--request GET 'http://localhost:8080/api/presentations' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"code": 200,
"message": "string",
"data": [
{
"id": "string",
"title": "string",
"thumbnail": {
"id": "string",
"elements": [
{
"type": "string",
"id": "string",
"left": 42.0,
"top": 42.0,
"width": 42.0,
"height": 42.0,
"viewBox": [
42
],
"path": "string",
"fill": "string",
"fixedRatio": true,
"opacity": 42.0,
"rotate": 42,
"flipV": true,
"lineHeight": 42.0,
"content": "string",
"defaultFontName": "string",
"defaultColor": "string",
"start": [
42
],
"end": [
42
],
"points": [
"string"
],
"color": "string",
"style": "string",
"wordSpace": 42
}
],
"background": {
"type": "string",
"color": "string"
}
},
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z"
}
],
"pagination": {
"currentPage": 1,
"pageSize": 10,
"totalItems": 100,
"totalPages": 10
}
}
Response examples (500)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2025-05-04T09:42:00Z"
}