mirror of https://github.com/Chocobozzz/PeerTube
add invalid_token error to openapi spec
parent
868fce62f8
commit
a31e9b183e
|
@ -960,6 +960,12 @@ paths:
|
||||||
Disambiguate via `type`:
|
Disambiguate via `type`:
|
||||||
- `invalid_client` for an unmatched `client_id`
|
- `invalid_client` for an unmatched `client_id`
|
||||||
- `invalid_grant` for unmatched credentials
|
- `invalid_grant` for unmatched credentials
|
||||||
|
'401':
|
||||||
|
x-summary: token expired
|
||||||
|
description: |
|
||||||
|
Disambiguate via `type`:
|
||||||
|
- default value for a regular authentication failure
|
||||||
|
- `invalid_token` for an expired token
|
||||||
x-codeSamples:
|
x-codeSamples:
|
||||||
- lang: Shell
|
- lang: Shell
|
||||||
source: |
|
source: |
|
||||||
|
|
Loading…
Reference in New Issue