site.mochott.notification.getUnreadCount
Counts what listNotifications would list as unread for the same types, after notification settings and mutes.
Details · query
| Kind | query |
|---|---|
| Authority | notification.mochott.site |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.types.itemsNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Counts what listNotifications would list as unread for the same types, after notification settings and mutes.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"count": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"count"
],
"type": "object"
}
},
"parameters": {
"properties": {
"types": {
"description": "Only count these notification types. Comic types are only counted when named here.",
"items": {
"knownValues": [
"new_article",
"like",
"subscription",
"comment",
"reply",
"import_completed",
"import_failed",
"new_comic",
"comic_like",
"comic_comment",
"comic_reply",
"comic_subscription"
],
"type": "string"
},
"type": "array"
}
},
"type": "params"
},
"type": "query"
}
},
"description": "Count unread notifications of the requesting account. Requires auth.",
"id": "site.mochott.notification.getUnreadCount",
"lexicon": 1,
"revision": 1
}