fyi.opensocial.listNotifications
The caller's Activity, newest first, from every group on this host they're in: what answers something of theirs, what names them, and, where they asked for everything new, each new event or thread. Only what they may still read, as it is now.
Details · query
| Kind | query |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.notification.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.notification.properties.reasonNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.placeName.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.placeName.properties.slugNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tabName.properties.slugNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tabName.properties.templateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tabName.properties.titleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The caller's Activity, newest first, from every group on this host they're in: what answers something of theirs, what names them, and, where they asked for everything new, each new event or thread. Only what they may still read, as it is now.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"notifications": {
"items": {
"ref": "#notification",
"type": "ref"
},
"type": "array"
}
},
"required": [
"notifications"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
},
"notification": {
"properties": {
"author": {
"ref": "fyi.opensocial.defs#actorView",
"type": "ref"
},
"channel": {
"ref": "#placeName",
"type": "ref"
},
"group": {
"ref": "fyi.opensocial.defs#groupViewBasic",
"type": "ref"
},
"id": {
"type": "string"
},
"indexedAt": {
"format": "datetime",
"type": "string"
},
"isRead": {
"type": "boolean"
},
"reason": {
"description": "Why it's in the caller's Activity: it names them, it answers something of theirs, or it's new where they asked for everything.",
"knownValues": [
"mention",
"reply",
"new"
],
"type": "string"
},
"record": {
"ref": "#recordGist",
"type": "ref"
},
"subject": {
"description": "With a reply, what it answers.",
"ref": "#recordGist",
"type": "ref"
},
"tab": {
"ref": "#tabName",
"type": "ref"
}
},
"required": [
"id",
"group",
"channel",
"tab",
"reason",
"author",
"record",
"indexedAt",
"isRead"
],
"type": "object"
},
"placeName": {
"properties": {
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"slug",
"name"
],
"type": "object"
},
"recordGist": {
"properties": {
"text": {
"description": "The start of what it says.",
"maxLength": 300,
"type": "string"
},
"title": {
"description": "Its title or name, if it has one.",
"maxLength": 300,
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
},
"tabName": {
"properties": {
"slug": {
"type": "string"
},
"template": {
"description": "Which template it's made from, for its icon.",
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"slug",
"title"
],
"type": "object"
}
},
"id": "fyi.opensocial.listNotifications",
"lexicon": 1
}