dev.knotless.getDelegation

Fails with 403 when the authorization was refused or did not log in as the caller, and with 404 for a delegation the caller did not start or that has ended.

Details · query
Kindquery
Authorityknotless.dev
Indexed

Query

query · GET

Parameters

query string

state

requiredstring
  • maxLength: 64

Output

application/json

done

requiredboolean

Whether the gateway now writes for the caller. False means ask again.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Starts delegating the caller's writes to a gateway. The gateway, an OAuth client of the caller's PDS, pushes an authorization request for the caller and answers with the page where the caller approves it; once they do, the gateway keeps the session, replacing any it held, to write on the caller's behalf for collaborators and batched commits. Requires a service token from the caller's PDS, audience the gateway's DID, for this method.

  • Waits a while for the account logged in to this appview's pages to approve a delegation dev.knotless.delegateWrites started.

  • Starts delegating the writes of the account logged in to this appview's pages to the appview's gateway, as `knotless account delegate` does.