aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-06-04 08:40:08 +0200
committerRigel Kent <sendmemail@rigelk.eu>2021-06-04 08:40:08 +0200
commita31e9b183ecfa9fe7abfae46750e454aa6ba244f (patch)
tree47a5a4acebc3c78c34c3a32e16bd7437bf44cf23 /support/doc
parent868fce62f86812759ccedccf7634236ac3701d9a (diff)
downloadPeerTube-a31e9b183ecfa9fe7abfae46750e454aa6ba244f.tar.gz
PeerTube-a31e9b183ecfa9fe7abfae46750e454aa6ba244f.tar.zst
PeerTube-a31e9b183ecfa9fe7abfae46750e454aa6ba244f.zip
add invalid_token error to openapi spec
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/api/openapi.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index ae4855878..6c5a15087 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -960,6 +960,12 @@ paths:
960 Disambiguate via `type`: 960 Disambiguate via `type`:
961 - `invalid_client` for an unmatched `client_id` 961 - `invalid_client` for an unmatched `client_id`
962 - `invalid_grant` for unmatched credentials 962 - `invalid_grant` for unmatched credentials
963 '401':
964 x-summary: token expired
965 description: |
966 Disambiguate via `type`:
967 - default value for a regular authentication failure
968 - `invalid_token` for an expired token
963 x-codeSamples: 969 x-codeSamples:
964 - lang: Shell 970 - lang: Shell
965 source: | 971 source: |