Skip to main content

tools.ozone.queue.createQueue

#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.

Input​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
namestring-✅Display name for the queue (must be unique)
subjectTypesarray of string-❌Subject types this queue accepts
collectionstring (nsid)-❌Collection name for record subjects. Required if subjectTypes includes 'record'.
reportTypesarray of string-❌Report reason types (fully qualified NSIDs)
descriptionstring-❌Optional description of the queue
recommendedPoliciesarray of string-❌Policy keys to recommend when actioning reports in this queue
recommendedLabelsarray of string-❌Labels to recommend for this queue and use as fallback appeal routing mappings

Output​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
queuetools.ozone.queue.defs#queueView-✅-