{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The spaces written to since `cursor`, of the private repositories whose owners invited the caller (dev.knotless.inviteRunner), as their authorities told the appview (com.atproto.space.notifyWrite): nothing written in a space reaches the firehose. Answers as soon as there is one, or with none after a while, to be asked again from the cursor it gives. A write told of is only a reason to look: the caller reads the space itself, as a member. Requires a service token from the caller's PDS, audience the appview's DID, for this method.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"description": "Where this answer ended: the cursor to ask from next.",
"maxLength": 64,
"type": "string"
},
"missed": {
"description": "Set when `cursor` was none, or of no place the appview remembers, as after it restarted: any space may have been written to since.",
"type": "boolean"
},
"writes": {
"items": {
"ref": "#write",
"type": "ref"
},
"type": "array"
}
},
"required": [
"cursor",
"writes"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"description": "Where the last answer ended. With none, the answer says only where things are now.",
"maxLength": 64,
"type": "string"
}
},
"type": "params"
},
"type": "query"
},
"write": {
"description": "A space written to.",
"properties": {
"space": {
"description": "The space, as `at://<owner>/space/dev.knotless.space/<name>`.",
"maxLength": 512,
"type": "string"
}
},
"required": [
"space"
],
"type": "object"
}
},
"description": "A runner's ask of the appview for the private repositories written to, as soon as one is.",
"id": "dev.knotless.awaitSpaceWrites",
"lexicon": 1
}