full diff

dev.knotless.delegateWrites

From
bafyreidtem72bwyj4bjzftygt3g3e6tvwisrk3wqjhear5pc37drdqhjfy indexed 2026-10-28 21:21 UTC View this version
To
bafyreihrrbxwkdrbqsadfcqcrkpisq3bcgibghfpflhp6sp6suplyzghh4 indexed 2026-11-04 13:32 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Asks this appview's gateway, with a service token the account's PDS mints for the session the appview keeps for it, to take its writes (dev.knotless.putDelegation). The gateway asks the account's authorization server for a grant of its own, of the knotless records and blobs alone, which the account approves at the page this answers with; dev.knotless.awaitDelegation then waits for that. Once approved, sharing a repository for writing names the gateway, through which collaborators push. Requires the session cookie the pages' login sets.",
66 "errors": [
77 {
88 "description": "The gateway or the account's PDS refused to start it.",
99 "name": "InvalidRequest"
1010 },
1111 {
1212 "description": "No account is logged in to the pages, or its session has ended.",
1313 "name": "AuthenticationRequired"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {},
2020 "type": "object"
2121 }
2222 },
2323 "output": {
2424 "encoding": "application/json",
2525 "schema": {
2626 "properties": {
2727 "state": {
2828 "description": "What names this delegation to dev.knotless.awaitDelegation.",
2929 "maxLength": 256,
3030 "type": "string"
3131 },
3232 "url": {
3333 "description": "The page at the account's authorization server where it approves the grant.",
3434 "format": "uri",
3535 "type": "string"
3636 }
3737 },
3838 "required": [
3939 "url",
4040 "state"
4141 ],
4242 "type": "object"
4343 }
4444 },
4545 "type": "procedure"
4646 }
4747 },
48 "description": "Starts delegating the writes of the account logged in to this appview's pages to the appview's gateway, as `knotless delegate` does.",
48 "description": "Starts delegating the writes of the account logged in to this appview's pages to the appview's gateway, as `knotless account delegate` does.",
4949 "id": "dev.knotless.delegateWrites",
5050 "lexicon": 1
5151}

Compare other versions