Login
Exchange the refresh token cookie for a new access token
Changed onReads the refreshToken cookie set by /api/v2/auth/token, rotates it and answers with a new access token. Needs no Authorization header, so it keeps working once the previous access token has expired. The rotated cookie is returned in Set-Cookie; the token itself is never part of the body.
post/api/v2/auth/refresh
Request
- Base URLhttps://docs.hashtopolis.org
- AuthAPI key in cookie refreshToken
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Success
Changes
- info
endpoint added
- info