Instance of Axios.
Currently used Bearer authorization token.
User the client is authorized as.
User the client is authorized as.
Post-related functions. Corresponds to the /post API route.
Currently used Bearer authorization token.
User-related functions. Corresponds to the /user API route.
Update the currently used client user.
Login as existent user if there is no token present yet.
Name of the new session, will be displayed to the user.
Delete an existing session.
Fetch information about the currently used session
Get sessions that exist on the account.
Login with an already existent session token.
Log out, then reset token and client user to null
.
Modify the currently logged in user
Object with updated properties, all keys optional
Modify an existing session.
Object with updated properties, all keys optional
Set a new avatar. avatar
should be a common-format image that {@link FormData} understands.
Unset the current avatar.
Generated using TypeDoc
GIFBox API Client