Skip to content

Commit

Permalink
fix(API): Format list is not paginated and authenticated #STRINGS-458 (
Browse files Browse the repository at this point in the history
  • Loading branch information
jablan authored Oct 1, 2024
1 parent 1140a98 commit 25e90f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
28 changes: 0 additions & 28 deletions doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -5166,11 +5166,6 @@
"tags": [
"Formats"
],
"parameters": [
{
"$ref": "#/components/parameters/X-PhraseApp-OTP"
}
],
"responses": {
"200": {
"description": "OK",
Expand All @@ -5183,33 +5178,10 @@
}
}
}
},
"headers": {
"X-Rate-Limit-Limit": {
"$ref": "#/components/headers/X-Rate-Limit-Limit"
},
"X-Rate-Limit-Remaining": {
"$ref": "#/components/headers/X-Rate-Limit-Remaining"
},
"X-Rate-Limit-Reset": {
"$ref": "#/components/headers/X-Rate-Limit-Reset"
},
"Link": {
"$ref": "#/components/headers/Link"
},
"Pagination": {
"$ref": "#/components/headers/Pagination"
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"429": {
"$ref": "#/components/responses/429"
}
},
"x-code-samples": [
Expand Down
17 changes: 0 additions & 17 deletions paths/formats/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ description: Get a handy list of all localization file formats supported in Phra
operationId: formats/list
tags:
- Formats
parameters:
- "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
responses:
'200':
description: OK
Expand All @@ -15,23 +13,8 @@ responses:
type: array
items:
"$ref": "../../schemas/format.yaml#/format"
headers:
X-Rate-Limit-Limit:
"$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
X-Rate-Limit-Remaining:
"$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
X-Rate-Limit-Reset:
"$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
Link:
"$ref": "../../headers.yaml#/Link"
Pagination:
"$ref": "../../headers.yaml#/Pagination"
'400':
"$ref": "../../responses.yaml#/400"
'404':
"$ref": "../../responses.yaml#/404"
'429':
"$ref": "../../responses.yaml#/429"
x-code-samples:
- lang: Curl
source: curl "https://api.phrase.com/v2/formats"
Expand Down

0 comments on commit 25e90f4

Please sign in to comment.