site.mochott.account.getAuthorization

A client writing long posts asks this before the first one. Without the authorization, mochott cannot delete an article whose long post was deleted in an app that deletes posts alone; the client should then open authorizeUrl so the account signs in to mochott once.

Repository @tokimeki.blue did:plc:4tr5dqti7nmu6g2czpthntak namespace authority
Details · query
Kindquery
Authorityaccount.mochott.site
Indexed

Query

query · GET

Parameters

query string

display

string

How the client opens authorizeUrl. 'popup': in a popup window; the sign-in then ends on a mochott page that closes itself (the PDS's authorization page sends Cross-Origin-Opener-Policy, so window.opener is gone and nothing is posted back: check again when the client's window regains focus). Omitted or unknown: the sign-in ends on the mochott dashboard.

  • knownValues: popup

Output

application/json

authorizeUrl

requiredstring · uri

Where the account signs in to mochott. After signing in it lands on the mochott dashboard, or with display=popup on a page that closes itself.

authorized

requiredboolean

mochott holds a live authorization for the account.