feat(pagination): paginate activity and progress lists

This commit is contained in:
2026-05-02 15:32:10 -04:00
parent 75c872264f
commit 00faf9cea8
15 changed files with 341 additions and 59 deletions

View File

@@ -350,8 +350,26 @@ components:
type: array
items:
$ref: '#/components/schemas/Activity'
page:
type: integer
format: int64
limit:
type: integer
format: int64
next_page:
type: integer
format: int64
previous_page:
type: integer
format: int64
total:
type: integer
format: int64
required:
- activities
- page
- limit
- total
Device:
type: object
@@ -1174,18 +1192,18 @@ paths:
in: query
schema:
type: string
- name: offset
- name: page
in: query
schema:
type: integer
format: int64
default: 0
default: 1
- name: limit
in: query
schema:
type: integer
format: int64
default: 100
default: 25
security:
- BearerAuth: []
responses: