added accestoken to calls
This commit is contained in:
parent
b6a909426d
commit
29d42c770b
@ -37,6 +37,7 @@ paths:
|
|||||||
example:
|
example:
|
||||||
{
|
{
|
||||||
"nonce": "randomNonce123",
|
"nonce": "randomNonce123",
|
||||||
|
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik5HVEZ2ZEstZnl0aEV1Q..."
|
||||||
}
|
}
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
@ -73,6 +74,25 @@ paths:
|
|||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/unavailable"
|
||||||
|
examples:
|
||||||
|
logged in user:
|
||||||
|
summary: Logged in user
|
||||||
|
description: Logged in user
|
||||||
|
value:
|
||||||
|
{
|
||||||
|
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik5HVEZ2ZEstZnl0aEV1Q..."
|
||||||
|
}
|
||||||
|
user not logged in:
|
||||||
|
summary: User not logged in
|
||||||
|
description: User not logged in
|
||||||
|
value:
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
"400":
|
"400":
|
||||||
description: Bad request
|
description: Bad request
|
||||||
"401":
|
"401":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user