tools.ozone.inbox.listReports
List moderation reports submitted by the authenticated account to this moderation service.
Details · query
| Kind | query |
|---|---|
| Authority | inbox.ozone.tools |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.filterNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.sortDirectionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.sortFieldNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.reportView.properties.lastActionTakenNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.reportView.properties.reasonTypeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.reportView.properties.scopeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.reportView.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "List moderation reports submitted by the authenticated account to this moderation service.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"reports": {
"items": {
"ref": "#reportView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"reports"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"description": "An opaque cursor for pagination.",
"type": "string"
},
"did": {
"description": "Account to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.",
"format": "did",
"type": "string"
},
"filter": {
"default": "all",
"description": "Filter report activity. unread includes reports whose updatedAt is after the reports section's seenAt watermark.",
"enum": [
"all",
"pending",
"resolved",
"unread"
],
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"sortDirection": {
"default": "desc",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"sortField": {
"default": "updatedAt",
"enum": [
"createdAt",
"updatedAt"
],
"type": "string"
}
},
"type": "params"
},
"type": "query"
},
"reportView": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"id": {
"description": "Report ID (report table ID), used by getReport and Ozone's report detail page.",
"type": "integer"
},
"isRead": {
"type": "boolean"
},
"lastActionTaken": {
"description": "Public action associated with this report's transition to resolved. See the public action vocabulary table.",
"type": "string"
},
"reason": {
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
},
"reasonType": {
"description": "The exact fully-qualified reason NSID submitted with and stored on the report.",
"type": "string"
},
"scope": {
"knownValues": [
"network",
"app",
"labelOnly"
],
"type": "string"
},
"src": {
"description": "DID of the moderation service that received the report.",
"format": "did",
"type": "string"
},
"status": {
"knownValues": [
"pending",
"resolved"
],
"type": "string"
},
"subject": {
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef",
"chat.bsky.convo.defs#messageRef",
"chat.bsky.convo.defs#convoRef"
],
"type": "union"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"src",
"id",
"isRead",
"reasonType",
"subject",
"status",
"createdAt",
"updatedAt"
],
"type": "object"
}
},
"id": "tools.ozone.inbox.listReports",
"lexicon": 1
}