full diff

pub.chive.moderation.createReport

From
bafyreiaji5e3inhbgma4j7v62g67sc4flcegtmlc3itsljebtdossjyz3a indexed 2026-06-18 13:14 UTC View this version
To
bafyreiaji5e3inhbgma4j7v62g67sc4flcegtmlc3itsljebtdossjyz3a indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Report content for moderation review. Requires authentication. Duplicate reports from the same user for the same content are idempotent.",
66 "errors": [
77 {
88 "name": "AuthenticationRequired"
99 },
1010 {
1111 "name": "InvalidRequest"
1212 }
1313 ],
1414 "input": {
1515 "encoding": "application/json",
1616 "schema": {
1717 "properties": {
1818 "description": {
1919 "description": "Optional additional details about the report",
2020 "maxLength": 2000,
2121 "type": "string"
2222 },
2323 "reason": {
2424 "description": "Reason for reporting",
2525 "knownValues": [
2626 "spam",
2727 "inappropriate",
2828 "copyright",
2929 "misinformation",
3030 "other"
3131 ],
3232 "type": "string"
3333 },
3434 "targetCollection": {
3535 "description": "Collection NSID of the target content",
3636 "type": "string"
3737 },
3838 "targetUri": {
3939 "description": "AT-URI of the content to report",
4040 "format": "at-uri",
4141 "type": "string"
4242 }
4343 },
4444 "required": [
4545 "targetUri",
4646 "targetCollection",
4747 "reason"
4848 ],
4949 "type": "object"
5050 }
5151 },
5252 "output": {
5353 "encoding": "application/json",
5454 "schema": {
5555 "properties": {
5656 "id": {
5757 "description": "Report ID",
5858 "type": "integer"
5959 },
6060 "success": {
6161 "description": "Whether the report was created",
6262 "type": "boolean"
6363 }
6464 },
6565 "required": [
6666 "success",
6767 "id"
6868 ],
6969 "type": "object"
7070 }
7171 },
7272 "type": "procedure"
7373 }
7474 },
7575 "id": "pub.chive.moderation.createReport",
7676 "lexicon": 1,
7777 "revision": 1
7878}