A better Rust ATProto crate
1

Configure Feed

Select the types of activity you want to include in your feed.

at main 2.7 kB View raw
1{ 2 "lexicon": 1, 3 "id": "com.atproto.sync.subscribeRepos", 4 "defs": { 5 "main": { 6 "type": "subscription", 7 "description": "Subscribe to repository update stream", 8 "parameters": { 9 "type": "params", 10 "properties": { 11 "cursor": { 12 "type": "integer", 13 "description": "The last known event seq number" 14 } 15 } 16 }, 17 "message": { 18 "schema": { 19 "type": "union", 20 "refs": ["#commit", "#identity", "#account"] 21 } 22 } 23 }, 24 "commit": { 25 "type": "object", 26 "required": ["seq", "rebase", "tooBig", "repo", "commit", "rev", "since", "blocks", "ops", "blobs", "time"], 27 "properties": { 28 "seq": { 29 "type": "integer" 30 }, 31 "rebase": { 32 "type": "boolean" 33 }, 34 "tooBig": { 35 "type": "boolean" 36 }, 37 "repo": { 38 "type": "string", 39 "format": "did" 40 }, 41 "commit": { 42 "type": "cid-link" 43 }, 44 "rev": { 45 "type": "string" 46 }, 47 "since": { 48 "type": "string" 49 }, 50 "blocks": { 51 "type": "bytes" 52 }, 53 "ops": { 54 "type": "array", 55 "items": { 56 "type": "ref", 57 "ref": "#repoOp" 58 } 59 }, 60 "blobs": { 61 "type": "array", 62 "items": { 63 "type": "cid-link" 64 } 65 }, 66 "time": { 67 "type": "string", 68 "format": "datetime" 69 } 70 } 71 }, 72 "identity": { 73 "type": "object", 74 "required": ["seq", "did", "time"], 75 "properties": { 76 "seq": { 77 "type": "integer" 78 }, 79 "did": { 80 "type": "string", 81 "format": "did" 82 }, 83 "time": { 84 "type": "string", 85 "format": "datetime" 86 } 87 } 88 }, 89 "account": { 90 "type": "object", 91 "required": ["seq", "did", "time", "active"], 92 "properties": { 93 "seq": { 94 "type": "integer" 95 }, 96 "did": { 97 "type": "string", 98 "format": "did" 99 }, 100 "time": { 101 "type": "string", 102 "format": "datetime" 103 }, 104 "active": { 105 "type": "boolean" 106 } 107 } 108 }, 109 "repoOp": { 110 "type": "object", 111 "required": ["action", "path", "cid"], 112 "properties": { 113 "action": { 114 "type": "string", 115 "knownValues": ["create", "update", "delete"] 116 }, 117 "path": { 118 "type": "string" 119 }, 120 "cid": { 121 "type": "cid-link" 122 } 123 } 124 } 125 } 126}