From
bafyreiddctng5ndr7ueoqiuirzjq4kzhxgrnjzuwtwj6gjy36bjimc7kom
indexed 2026-10-28 21:21 UTC
View this version
To
bafyreiamefekv7exet4bjvmksmiwkotip2y7lsghtsskenshcx44z7ymlq
indexed 2026-11-04 13:32 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"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.",5
"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 mod report` does. Requires the session cookie the pages' login sets.",66
"errors": [77
{88
"description": "No account is logged in to the pages, or its session has ended.",99
"name": "AuthenticationRequired"1010
}1111
],1212
"input": {1313
"encoding": "application/json",1414
"schema": {1515
"properties": {1616
"reason": {1717
"description": "Why, as com.atproto.moderation.defs names reasons, by the last word of each.",1818
"knownValues": [1919
"spam",2020
"violation",2121
"misleading",2222
"sexual",2323
"rude",2424
"other"2525
],2626
"maxLength": 64,2727
"type": "string"2828
},2929
"subject": {3030
"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.",3131
"maxLength": 8192,3232
"type": "string"3333
},3434
"text": {3535
"description": "More on why, for the moderators.",3636
"maxGraphemes": 2000,3737
"maxLength": 20000,3838
"type": "string"3939
}4040
},4141
"required": [4242
"subject",4343
"reason"4444
],4545
"type": "object"4646
}4747
},4848
"output": {4949
"encoding": "application/json",5050
"schema": {5151
"properties": {5252
"reportId": {5353
"description": "The report's number, as the moderation service gave it.",5454
"type": "integer"5555
}5656
},5757
"required": [5858
"reportId"5959
],6060
"type": "object"6161
}6262
},6363
"type": "procedure"6464
}6565
},6666
"description": "Reports an account, a repository, or what someone wrote about one, to the moderation service, as the account logged in to this appview's pages.",6767
"id": "dev.knotless.createReport",6868
"lexicon": 16969
}