Vanity
These API endpoints are related to vanity codes on IGL
vanity/{code}Resolve Vanity
Resolve a vanity by its code or (then) its target id
Path Parameters
codeRequiredstring
The vanity code
Query Parameters
itagstring
Resolve based on itag
Success
@{code}Redirect Vanity
Resolve a vanity by its code or (then) its target id, then redirects to the API url. Useful for debugging mainly
Path Parameters
codeRequiredstring
The vanity code
Query Parameters
itagstring
Resolve based on itag
Success
{target_type}/{target_id}/vanityUpdate Entity Vanity
Updates an entities vanity. Returns 204 on success
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Bot-Auth<token>
Requires a bot token. Should be prefixed with Bot in Authorization header.
In: header
Server-Auth<token>
Requires a server API session token. Should be prefixed with Server in Authorization header.
In: header
Team-Auth<token>
Requires a team API session token. Should be prefixed with Team in Authorization header.
In: header
Request Body
application/jsonRequiredcodestring
The new vanity code to use
Path Parameters
target_typeRequiredstring
The target type of the entity
target_idRequiredstring
The target ID of the entity
Success