tools.ozone.report.assignModerator

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

Details · procedure
Kindprocedure
Authorityreport.ozone.tools
Indexed

Procedure

procedure · POST

Input

application/json

did

string · did

DID to be assigned. Defaults to the caller's DID. Admins may assign to any moderator.

When true, the assignment has no expiry (endAt is null). Throws AlreadyAssigned if another user already has a permanent assignment on this report.

queueId

integer

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.

reportId

requiredinteger

The ID of the report to assign.

Output

application/json

Errors

AlreadyAssigned

The report is already assigned to another user.

InvalidAssignment

The report ID or queue ID is invalid.

Similar lexicons

semantic match

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