tools.ozone.queue.createQueue

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

Details · procedure
Kindprocedure
Authorityqueue.ozone.tools
Commit rev3n2oxkxrk2g2r
Indexed

Showing version bafyreidaerqshc762yiream75amfqjxebte3xznt5w5hm6hxlzdpiru2fq. Show the latest

Procedure

procedure · POST

Input

application/json

Match any of these tags on the account that is being reported against.

  • maxLength: 25
itemsstring
  • minLength: 1

collection

string · nsid

Collection name for record subjects. Omit to accept every collection.

Optional description of the queue

name

requiredstring

Display name for the queue (must be unique)

Labels to recommend for this queue and use as fallback appeal routing mappings

itemsstring

Policy keys to recommend when actioning reports in this queue

itemsstring

Report reason types (fully qualified NSIDs)

itemsstring

Match any listed tag on the account submitting the report.

  • maxLength: 25
itemsstring
  • minLength: 1

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.

Subject types this queue accepts

itemsstring
  • knownValues: account | record | message | conversation

Output

application/json

Errors

InvalidRecommendedPolicies

One or more recommended policy keys do not exist in the configured policy list

ConflictingQueue

The queue configuration conflicts with an existing queue

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.