tools.ozone.inbox.getReport
Get a moderation report submitted by the authenticated account to this moderation service.
Details · query
| Kind | query |
|---|---|
| Authority | inbox.ozone.tools |
| Indexed |
Checks
Validunlimited-stringdefs.reportView.properties.reasonTypeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.reportView.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.resolutionView.properties.actionTakenNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.resolutionView.properties.outcomeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.resolutionView.properties.scopeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get a moderation report submitted by the authenticated account to this moderation service.",
"errors": [
{
"description": "No report was found, or the authenticated account did not submit it.",
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"report": {
"ref": "#reportView",
"type": "ref"
},
"resolution": {
"description": "Present only when the report is resolved.",
"ref": "#resolutionView",
"type": "ref"
}
},
"required": [
"report"
],
"type": "object"
}
},
"parameters": {
"properties": {
"did": {
"description": "Reporter to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.",
"format": "did",
"type": "string"
},
"id": {
"description": "Report ID (report table ID), as returned by listReports.",
"type": "integer"
}
},
"required": [
"id"
],
"type": "params"
},
"type": "query"
},
"reportView": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"id": {
"description": "Report ID (report table ID), used by Ozone's report detail page.",
"type": "integer"
},
"reason": {
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
},
"reasonType": {
"description": "The exact fully-qualified reason NSID submitted with and stored on the report.",
"type": "string"
},
"record": {
"description": "Raw record JSON for the subject, when the subject is a record and the record is available.",
"type": "unknown"
},
"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",
"reasonType",
"subject",
"status",
"createdAt",
"updatedAt"
],
"type": "object"
},
"resolutionView": {
"properties": {
"actionTaken": {
"description": "Public action associated with this report's resolution. See the public action vocabulary table.",
"type": "string"
},
"outcome": {
"knownValues": [
"actionTaken",
"noAction",
"other"
],
"type": "string"
},
"resolvedAt": {
"format": "datetime",
"type": "string"
},
"scope": {
"knownValues": [
"network",
"app",
"labelOnly"
],
"type": "string"
}
},
"required": [
"outcome",
"resolvedAt"
],
"type": "object"
}
},
"id": "tools.ozone.inbox.getReport",
"lexicon": 1
}