#main
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.
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|
| name | string | - | ✅ | Display name for the queue (must be unique) |
| subjectTypes | array of string | - | ❌ | Subject types this queue accepts |
| collection | string (nsid) | - | ❌ | Collection name for record subjects. Required if subjectTypes includes 'record'. |
| reportTypes | array of string | - | ❌ | Report reason types (fully qualified NSIDs) |
| description | string | - | ❌ | Optional description of the queue |
Output
- Encoding: application/json