Skip to content

Commit 91408a5

Browse files
committed
feat: docs
1 parent 411ee00 commit 91408a5

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/sample.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2853,9 +2853,24 @@ paths:
28532853
type: string
28542854
example: Internal server error
28552855

2856-
/admin/ideas:
2856+
/admin/ideas?limit={limit}&cursor={cursor}:
28572857
get:
28582858
summary: Get all ideas
2859+
parameters:
2860+
- name: limit
2861+
in: query
2862+
description: The number of ideas to fetch. Required for the first request.
2863+
required: false
2864+
schema:
2865+
type: integer
2866+
example: 10
2867+
- name: cursor
2868+
in: query
2869+
description: The Base64-encoded cursor representing the last user ID from the previous page.
2870+
required: false
2871+
schema:
2872+
type: string
2873+
example: "550e8400-e29b-41d4-a716-446655440000"
28592874
tags:
28602875
- Admin
28612876
description: Fetches all submitted ideas.

0 commit comments

Comments
 (0)