2022-05-11 18:47:31 -04:00
|
|
|
{
|
|
|
|
"operationId": "refreshToken",
|
|
|
|
"summary": "Refresh your access token",
|
2023-03-07 01:42:26 -05:00
|
|
|
"tags": ["Tokens"],
|
2022-05-11 18:47:31 -04:00
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "200 response",
|
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
2023-03-07 01:42:26 -05:00
|
|
|
"required": ["result"],
|
2022-05-11 18:47:31 -04:00
|
|
|
"properties": {
|
|
|
|
"result": {
|
2023-03-07 01:42:26 -05:00
|
|
|
"$ref": "#/components/schemas/TokenObject"
|
2022-05-11 18:47:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"examples": {
|
|
|
|
"default": {
|
|
|
|
"value": {
|
|
|
|
"result": {
|
|
|
|
"expires": 1566540510,
|
|
|
|
"token": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4",
|
|
|
|
"scope": "user"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-03-07 01:42:26 -05:00
|
|
|
}
|