Skip to content

Commit 9a79fa3

Browse files
authored
feat(API): Add Pagination header to POST search endpoints [#457] (#706)
1 parent 4cccd18 commit 9a79fa3

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

doc/compiled.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21423,6 +21423,9 @@
2142321423
},
2142421424
"X-Rate-Limit-Reset": {
2142521425
"$ref": "#/components/headers/X-Rate-Limit-Reset"
21426+
},
21427+
"Pagination": {
21428+
"$ref": "#/components/headers/Pagination"
2142621429
}
2142721430
}
2142821431
},
@@ -25082,6 +25085,9 @@
2508225085
},
2508325086
"X-Rate-Limit-Reset": {
2508425087
"$ref": "#/components/headers/X-Rate-Limit-Reset"
25088+
},
25089+
"Pagination": {
25090+
"$ref": "#/components/headers/Pagination"
2508525091
}
2508625092
}
2508725093
},
@@ -26750,6 +26756,9 @@
2675026756
},
2675126757
"X-Rate-Limit-Reset": {
2675226758
"$ref": "#/components/headers/X-Rate-Limit-Reset"
26759+
},
26760+
"Pagination": {
26761+
"$ref": "#/components/headers/Pagination"
2675326762
}
2675426763
}
2675526764
},

paths/keys/search.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ responses:
2525
"$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
2626
X-Rate-Limit-Reset:
2727
"$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
28+
Pagination:
29+
"$ref": "../../headers.yaml#/Pagination"
2830
'400':
2931
"$ref": "../../responses.yaml#/400"
3032
'404':

paths/search/in_account.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ responses:
2121
"$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
2222
X-Rate-Limit-Reset:
2323
"$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
24+
Pagination:
25+
"$ref": "../../headers.yaml#/Pagination"
2426
'400':
2527
"$ref": "../../responses.yaml#/400"
2628
'404':

paths/translations/search.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ responses:
2525
"$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
2626
X-Rate-Limit-Reset:
2727
"$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
28+
Pagination:
29+
"$ref": "../../headers.yaml#/Pagination"
2830
'400':
2931
"$ref": "../../responses.yaml#/400"
3032
'404':

0 commit comments

Comments
 (0)