Skip to main content

tools.ozone.queue.createQueue

#main​

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.

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. Omit to accept every collection.
reportTypesarray of string-❌Report reason types (fully qualified NSIDs)
reporterTagsarray of string-❌Match any listed tag on the account submitting the report.
accountTagsarray of string-❌Match any of these tags on the account that is being reported against.
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
strictAccessboolean-❌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.

Output​

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