Sends com.atproto.moderation.createReport to the moderation service this appview names, with a service token from the account logged in to its web pages, as `knotless report` does. Requires the session cookie the pages' login sets.
Input
application/jsonreason
string
Required
Why, as com.atproto.moderation.defs names reasons, by the last word of each.
maxLength: 64 bytessubject
string
Required
What is reported: an account's handle or DID, a repository's knotless:// URL, or the at:// URI of a record, such as a pull, an issue or a comment.
maxLength: 8192 bytestext
string
Optional
More on why, for the moderators.
maxLength: 20000 bytesmaxGraphemes: 2000 graphemesOutput
application/jsonreportId
integer
Required
The report's number, as the moderation service gave it.
Errors
AuthenticationRequired
No account is logged in to the pages, or its session has ended. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Sends com.atproto.moderation.createReport to the moderation service this appview names, with a service token from the account logged in to its web pages, as `knotless report` does. Requires the session cookie the pages' login sets.",
"errors": [
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"reason": {
"description": "Why, as com.atproto.moderation.defs names reasons, by the last word of each.",
"knownValues": [
"spam",
"violation",
"misleading",
"sexual",
"rude",
"other"
],
"maxLength": 64,
"type": "string"
},
"subject": {
"description": "What is reported: an account's handle or DID, a repository's knotless:// URL, or the at:// URI of a record, such as a pull, an issue or a comment.",
"maxLength": 8192,
"type": "string"
},
"text": {
"description": "More on why, for the moderators.",
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
}
},
"required": [
"subject",
"reason"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"reportId": {
"description": "The report's number, as the moderation service gave it.",
"type": "integer"
}
},
"required": [
"reportId"
],
"type": "object"
}
},
"type": "procedure"
}