dev.knotless.putDelegation

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "state": {
              "description": "Names the delegation to dev.knotless.getDelegation.",
              "maxLength": 64,
              "type": "string"
            },
            "url": {
              "description": "The authorization page for the caller to open.",
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "url",
            "state"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "dev.knotless.putDelegation",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.putDelegation

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreief5pkd4xlsxxp7ipzqhabw774azh3rdbcxly67n5eb4qimz7oxba
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.putDelegation

Similar Lexicons

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

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

  • Waits, for a while, for a delegation the caller started with dev.knotless.putDelegation to be approved. 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.

  • Grant PDS delegation to a trusted editor. Only accessible to administrators. Delegation allows the user to write records to the Governance PDS.

Lexicon Garden

@