API Call: Get Lodestone Link Status by Id or Name #4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
/api/v1/lodestone/link/check/id/<lodestoneId>/discord/<discordGuildId>/<discordUserId>,/api/v1/lodestone/link/check/id/<lodestoneId>/website/<hostname>/<websiteId>,/api/v1/lodestone/link/check/name/<server>/<name>/discord/<discordGuildId>/<discordUserId>or
/api/v1/lodestone/link/check/name/<server>/<name>/website/<hostname>/<websiteUserId>Example
/api/v1/lodestone/link/check/name/Siren/So'lao Bajiuik/discord/618857558740041738/178543347424690176or
/api/v1/lodestone/link/check/name/Siren/So'lao Bajiuik/website/ffxivhelix.com/8Once the API call comes in, check if this user is already linked.
if Linked
if not Linked
This random code needs to be stored in the database. This code will be valid for (configurable) 5 minutes. When the user links the code needs to be deleted from the database.
<type>|<last 20 character of b64 hash with salt of static data>