atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.label.subscribeLabels",
4 "defs": {
5 "info": {
6 "type": "object",
7 "required": [
8 "name"
9 ],
10 "properties": {
11 "message": {
12 "type": "string"
13 },
14 "name": {
15 "type": "string",
16 "knownValues": [
17 "OutdatedCursor"
18 ]
19 }
20 }
21 },
22 "labels": {
23 "type": "object",
24 "required": [
25 "seq",
26 "labels"
27 ],
28 "properties": {
29 "labels": {
30 "type": "array",
31 "items": {
32 "type": "ref",
33 "ref": "com.atproto.label.defs#label"
34 }
35 },
36 "seq": {
37 "type": "integer"
38 }
39 }
40 },
41 "main": {
42 "type": "subscription",
43 "description": "Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.",
44 "parameters": {
45 "type": "params",
46 "properties": {
47 "cursor": {
48 "type": "integer",
49 "description": "The last known event seq number to backfill from."
50 }
51 }
52 },
53 "message": {
54 "schema": {
55 "type": "union",
56 "refs": [
57 "#labels",
58 "#info"
59 ]
60 }
61 },
62 "errors": [
63 {
64 "name": "FutureCursor"
65 }
66 ]
67 }
68 }
69}