532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
71 lines
1.4 KiB
JSON
71 lines
1.4 KiB
JSON
{
|
|
"id": "com.atproto.label.subscribeLabels",
|
|
"defs": {
|
|
"info": {
|
|
"type": "object",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"knownValues": [
|
|
"OutdatedCursor"
|
|
]
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"main": {
|
|
"type": "subscription",
|
|
"errors": [
|
|
{
|
|
"name": "FutureCursor"
|
|
}
|
|
],
|
|
"message": {
|
|
"schema": {
|
|
"refs": [
|
|
"#labels",
|
|
"#info"
|
|
],
|
|
"type": "union"
|
|
}
|
|
},
|
|
"parameters": {
|
|
"type": "params",
|
|
"properties": {
|
|
"cursor": {
|
|
"type": "integer",
|
|
"description": "The last known event seq number to backfill from."
|
|
}
|
|
}
|
|
},
|
|
"description": "Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream."
|
|
},
|
|
"labels": {
|
|
"type": "object",
|
|
"required": [
|
|
"seq",
|
|
"labels"
|
|
],
|
|
"properties": {
|
|
"seq": {
|
|
"type": "integer"
|
|
},
|
|
"labels": {
|
|
"type": "array",
|
|
"items": {
|
|
"ref": "com.atproto.label.defs#label",
|
|
"type": "ref"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|