Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _assets/images/api-key-permissions-badges.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _assets/images/api-key-permissions-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _assets/images/api-key-permissions-edit-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 32 additions & 22 deletions api-reference/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -1165,7 +1165,7 @@
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -1320,7 +1320,7 @@
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -1413,7 +1413,7 @@
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound404DocTransDownload"
Expand Down Expand Up @@ -2743,7 +2743,7 @@
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"413": {
"$ref": "#/components/responses/PayloadTooLarge"
Expand Down Expand Up @@ -2872,7 +2872,7 @@
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"413": {
"$ref": "#/components/responses/PayloadTooLarge"
Expand Down Expand Up @@ -2975,7 +2975,7 @@
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -3217,7 +3217,7 @@
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -3377,7 +3377,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"429": {
"$ref": "#/components/responses/TooManyRequests"
Expand Down Expand Up @@ -3593,7 +3593,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"429": {
"$ref": "#/components/responses/TooManyRequests"
Expand Down Expand Up @@ -3705,7 +3705,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"429": {
"$ref": "#/components/responses/TooManyRequests"
Expand Down Expand Up @@ -3787,7 +3787,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"429": {
"$ref": "#/components/responses/TooManyRequests"
Expand Down Expand Up @@ -3903,7 +3903,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"429": {
"$ref": "#/components/responses/TooManyRequests"
Expand Down Expand Up @@ -3960,7 +3960,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -4033,7 +4033,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -4084,7 +4084,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -4162,7 +4162,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -4256,7 +4256,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -4325,7 +4325,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -4422,7 +4422,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -4479,7 +4479,7 @@
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
"$ref": "#/components/responses/ForbiddenScoped"
},
"404": {
"$ref": "#/components/responses/NotFound"
Expand Down Expand Up @@ -5405,8 +5405,18 @@
}
}
},
"ForbiddenScoped": {
"description": "Authorization failed. Please supply a valid `DeepL-Auth-Key` via the `Authorization` header. This error is also returned when the API key is scoped but does not include the scope required for this endpoint.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"ForbiddenGlossaries": {
"description": "Forbidden. The access to the requested resource is denied, because of insufficient access rights."
"description": "Forbidden. The access to the requested resource is denied, because of insufficient access rights. This error is also returned when the API key is scoped but does not include the scope required for this endpoint."
},
"NotFound": {
"description": "The requested resource could not be found.",
Expand Down
Loading
Loading