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
| Kind | query |
|---|---|
| Authority | knotless.dev |
| Indexed |
Query
query · GETParameters
query stringmaxLength: 64
Output
application/jsonWhether the gateway now writes for the caller. False means ask again.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.putDelegation
procedureStarts 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.
-
dev.knotless.awaitDelegation
procedureWaits a while for the account logged in to this appview's pages to approve a delegation dev.knotless.delegateWrites started.
-
dev.knotless.delegateWrites
procedureStarts delegating the writes of the account logged in to this appview's pages to the appview's gateway, as `knotless account delegate` does.