{"revision":"25c04798c52757c2","language":"en","entry":{"id":"account-address","kind":"endpoint","group":"cards","title":"Share an account’s address","method":"GET","path":"/{platform}/{account}","paths":[],"summary":"An address that opens the card holding an account: veil.pub/github/<login>, veil.pub/discord/<username>.","response":"302 to the card’s path on this host (/u/<n> or /o/<n>) when exactly one card holds the account and, for a username or a login, the platform gave or confirmed that name in the last 2 days. Otherwise 302 to the front page’s search with the same value (/?q=github:<login>), which says that no card has it and offers Make yours, lists the cards that answer, or shows the card found by an older name with the account’s ID and the date.","parameters":[{"name":"platform","description":"github, discord, fediverse, email or domain.","in":"path","required":true},{"name":"account","description":"The account as account= reads it after platform: (a GitHub login or github numeric ID, a Discord username or ID, @user@server, an address, a domain).","in":"path","required":true},{"name":"lang","description":"en or it, carried to the page it leads to.","in":"query","required":false}],"sample":"/github/Gabriele73","access":"public","base":"directory","notes":["The same exact rules as GET /v1/lookup?account=: the whole name, active links only, never a guess between two cards.","An address with an ID (/discord/<ID>, /github/<numeric ID>) always opens the card that holds that account. Prefer it in a profile: a name can pass to someone else. The answer is never cached and carries X-Robots-Tag: noindex."],"errors":["429 rate_limited","500 internal_error","503 busy"],"related":["lookup","person-card"],"sections":[{"kind":"code","language":"shell","code":"curl -sSI 'https://veil.pub/github/Gabriele73'"}],"live":false,"responses":[{"status":302,"contentType":"text/plain","description":"302 to the card’s path on this host (/u/<n> or /o/<n>) when exactly one card holds the account and, for a username or a login, the platform gave or confirmed that name in the last 2 days. Otherwise 302 to the front page’s search with the same value (/?q=github:<login>), which says that no card has it and offers Make yours, lists the cards that answer, or shows the card found by an older name with the account’s ID and the date.","fields":[]}],"responseObjects":[],"errorFormat":"json","errorDetails":[{"status":429,"code":"rate_limited","description":"An anonymous, signed-request or API-key allowance was exceeded.","action":"Wait at least `Retry-After` seconds. Share a queue and retry budget across your workers.","scope":"common"},{"status":500,"code":"internal_error","description":"An unexpected server error occurred. Internal details are not returned.","action":"Retry reads with bounded backoff. Check write results before sending a new signed operation.","scope":"common"},{"status":503,"code":"busy","description":"The application has reached a temporary concurrency or database limit.","action":"Wait `Retry-After` seconds and retry with bounded backoff.","scope":"common"}],"responseHeaders":[{"name":"Content-Type","value":"text/plain","description":"Use the declared media type before choosing a parser."},{"name":"Location","value":"/u/<n> or /o/<n>, or /?q=<platform>:<account>","description":"Follow it: the card checks itself in the browser, or the front page answers."},{"name":"Date","value":"HTTP date","description":"Server time. Compare it with your clock when signing requests."},{"name":"Retry-After","value":"integer seconds, on rate_limited or busy","description":"Wait at least this long before retrying. Other 429/503 codes do not necessarily include it."}],"documentationUrl":"https://veil.pub/docs/account-address","supportsBrowserFetch":false,"browserMode":"local-or-server"}}