tools.ozone.moderation.scheduleAction

Schedule a moderation action to be executed at a future time

Details · procedure
Kindprocedure
Authoritymoderation.ozone.tools
Indexed

Procedure

procedure · POST

Input

application/json

action

requiredunion
One of

createdBy

requiredstring · did

This will be propagated to the moderation event when it is applied

scheduling

requiredref
Reference

subjects

requiredarray

Array of DID subjects to schedule the action for

  • maxLength: 100
itemsstring · did

Output

application/json

#failedScheduling

object

Properties

error

requiredstring

errorCode

string

subject

requiredstring · did

#scheduledActionResults

object

Properties

failed

requiredarray
itemsref
Reference

succeeded

requiredarray
itemsstring · did

#schedulingConfig

object

Configuration for when the action should be executed

Properties

executeAfter

string · datetime

Earliest time to execute the action (for randomized scheduling)

executeAt

string · datetime

Exact time to execute the action

executeUntil

string · datetime

Latest time to execute the action (for randomized scheduling)

#takedown

object

Schedule a takedown action

Properties

If true, all other reports on content authored by this account will be resolved (acknowledged).

comment

string

Indicates how long the takedown should be in effect before automatically expiring.

Email content to be sent to the user upon takedown.

Subject of the email to be sent to the user upon takedown.

Names/Keywords of the policies that drove the decision.

  • maxLength: 5
itemsstring

Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.).

Number of strikes to assign to the user when takedown is applied.

strikeExpiresAt

string · datetime

When the strike should expire. If not provided, the strike never expires.

Similar lexicons

semantic match

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