full diff

tools.ozone.queue.createQueue

From
bafyreias7762oe2n2q7jdesluaeei2jv3kkjqt6nytu2jrg2im2praxcdu indexed 2026-10-03 21:31 UTC View this version
To
bafyreidaerqshc762yiream75amfqjxebte3xznt5w5hm6hxlzdpiru2fq indexed 2026-11-19 20:57 UTC View this version

Compatibility

backward compatible Backward compatible. 10 non-breaking changes.

Non-breaking changes (10)
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.accountTags" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.accountTags:items" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.reporterTags" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.reporterTags:items" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.strictAccess" }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.createQueue:input", tgt: "tools.ozone.queue.createQueue:input.accountTags", kind: "prop", name: Some("accountTags") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.createQueue:input", tgt: "tools.ozone.queue.createQueue:input.reporterTags", kind: "prop", name: Some("reporterTags") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.createQueue:input", tgt: "tools.ozone.queue.createQueue:input.strictAccess", kind: "prop", name: Some("strictAccess") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.createQueue:input.accountTags", tgt: "tools.ozone.queue.createQueue:input.accountTags:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.createQueue:input.reporterTags", tgt: "tools.ozone.queue.createQueue:input.reporterTags:items", kind: "items", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.accountTags" }
  • AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.accountTags:items" }
  • AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.reporterTags" }
  • AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.reporterTags:items" }
  • AddedVertex { vertex_id: "tools.ozone.queue.createQueue:input.strictAccess" }

Notes

  • Non-breaking: AddedEdge { src: "tools.ozone.queue.createQueue:input", tgt: "tools.ozone.queue.createQueue:input.accountTags", kind: "prop", name: Some("accountTags") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.createQueue:input", tgt: "tools.ozone.queue.createQueue:input.reporterTags", kind: "prop", name: Some("reporterTags") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.createQueue:input", tgt: "tools.ozone.queue.createQueue:input.strictAccess", kind: "prop", name: Some("strictAccess") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.createQueue:input.accountTags", tgt: "tools.ozone.queue.createQueue:input.accountTags:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.createQueue:input.reporterTags", tgt: "tools.ozone.queue.createQueue:input.reporterTags:items", kind: "items", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Create a new moderation queue. A queue can have optional matching criteria that ozone's queue router will use to match reports. A queue with no criteria must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.",
5 "description": "Create a new moderation queue. A queue with omitted or empty subjectTypes or reportTypes must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.",
66 "errors": [
77 {
88 "description": "One or more recommended policy keys do not exist in the configured policy list",
99 "name": "InvalidRecommendedPolicies"
1010 },
1111 {
1212 "description": "The queue configuration conflicts with an existing queue",
1313 "name": "ConflictingQueue"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
20 "accountTags": {
21 "description": "Match any of these tags on the account that is being reported against.",
22 "items": {
23 "minLength": 1,
24 "type": "string"
25 },
26 "maxLength": 25,
27 "type": "array"
28 },
2029 "collection": {
21 "description": "Collection name for record subjects. Required if subjectTypes includes 'record'.",
30 "description": "Collection name for record subjects. Omit to accept every collection.",
2231 "format": "nsid",
2332 "type": "string"
2433 },
2534 "description": {
2635 "description": "Optional description of the queue",
2736 "type": "string"
2837 },
2938 "name": {
3039 "description": "Display name for the queue (must be unique)",
3140 "type": "string"
3241 },
3342 "recommendedLabels": {
3443 "description": "Labels to recommend for this queue and use as fallback appeal routing mappings",
3544 "items": {
3645 "type": "string"
3746 },
3847 "type": "array"
3948 },
4049 "recommendedPolicies": {
4150 "description": "Policy keys to recommend when actioning reports in this queue",
4251 "items": {
4352 "type": "string"
4453 },
4554 "type": "array"
4655 },
4756 "reportTypes": {
4857 "description": "Report reason types (fully qualified NSIDs)",
4958 "items": {
5059 "type": "string"
5160 },
61 "type": "array"
62 },
63 "reporterTags": {
64 "description": "Match any listed tag on the account submitting the report.",
65 "items": {
66 "minLength": 1,
67 "type": "string"
68 },
5269 "maxLength": 25,
5370 "type": "array"
5471 },
72 "strictAccess": {
73 "description": "Admins can always list this queue and browse its reports. Other roles require an active queue assignment. Individual report and moderation event access is unchanged.",
74 "type": "boolean"
75 },
5576 "subjectTypes": {
5677 "description": "Subject types this queue accepts",
5778 "items": {
5879 "knownValues": [
5980 "account",
6081 "record",
6182 "message",
6283 "conversation"
6384 ],
6485 "type": "string"
6586 },
6687 "type": "array"
6788 }
6889 },
6990 "required": [
7091 "name"
7192 ],
7293 "type": "object"
7394 }
7495 },
7596 "output": {
7697 "encoding": "application/json",
7798 "schema": {
7899 "properties": {
79100 "queue": {
80101 "ref": "tools.ozone.queue.defs#queueView",
81102 "type": "ref"
82103 }
83104 },
84105 "required": [
85106 "queue"
86107 ],
87108 "type": "object"
88109 }
89110 },
90111 "type": "procedure"
91112 }
92113 },
93114 "id": "tools.ozone.queue.createQueue",
94115 "lexicon": 1
95116}

Compare other versions