Something went wrong. Try again.
atproto made easy crates.io/crates/jacquard
atproto rust
Something went wrong. Try again.
2.2 kB · 79 lines
JSON
at bos-beta
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879{ "lexicon": 1, "id": "tools.ozone.queue.createQueue", "defs": { "main": { "type": "procedure", "description": "Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "name", "subjectTypes", "reportTypes" ], "properties": { "collection": { "type": "string", "description": "Collection name for record subjects. Required if subjectTypes includes 'record'.", "format": "nsid" }, "description": { "type": "string", "description": "Optional description of the queue" }, "name": { "type": "string", "description": "Display name for the queue (must be unique)" }, "reportTypes": { "type": "array", "description": "Report reason types (fully qualified NSIDs)", "items": { "type": "string" }, "minLength": 1, "maxLength": 25 }, "subjectTypes": { "type": "array", "description": "Subject types this queue accepts", "items": { "type": "string", "knownValues": [ "account", "record", "message" ] }, "minLength": 1 } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "queue" ], "properties": { "queue": { "type": "ref", "ref": "tools.ozone.queue.defs#queueView" } } } }, "errors": [ { "description": "The queue configuration conflicts with an existing queue", "name": "ConflictingQueue" } ] } }}