Skip to main content

tools.ozone.report.assignModerator

#main​

Assign a report to a user. Defaults to the caller. Admins may assign to any moderator.

Input​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
reportIdinteger-✅The ID of the report to assign.
queueIdinteger-❌Optional queue ID to associate the assignment with. If not provided and the report has been assigned on a queue before, it will stay on that queue.
didstring (did)-❌DID to be assigned. Defaults to the caller's DID. Admins may assign to any moderator.
isPermanentboolean-❌When true, the assignment has no expiry (endAt is null). Throws AlreadyAssigned if another user already has a permanent assignment on this report.

Output​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
reftools.ozone.report.defs#assignmentView-✅-