tools.ozone.moderation.queryEvents
List moderation events related to a subject.
Details · query
| Kind | query |
|---|---|
| Authority | moderation.ozone.tools |
| Indexed |
Query
query · GETParameters
query stringaddedLabels
arrayIf specified, only events where all of these labels were added are returned
addedTags
arrayIf specified, only events where all of these tags were added are returned
ageAssuranceState
stringIf specified, only events where the age assurance state matches the given value are returned
knownValues: pending | assured | unknown | reset | blocked
batchId
stringIf specified, only events where the batchId matches the given value are returned
collections
arrayIf specified, only events where the subject belongs to the given collections will be returned. When subjectType is set to 'account', this will be ignored.
maxLength: 20
comment
stringIf specified, only events with comments containing the keyword are returned. Apply || separator to use multiple keywords and match using OR condition.
createdAfter
string · datetimeRetrieve events created after a given timestamp
createdBefore
string · datetimeRetrieve events created before a given timestamp
createdBy
string · didcursor
stringhasComment
booleanIf true, only events with comments are returned
includeAllUserRecords
booleanIf true, events on all record types (posts, lists, profile etc.) or records from given 'collections' param, owned by the did are returned.
default: false
limit
integerminimum: 1maximum: 100default: 50
modTool
arrayIf specified, only events where the modTool name matches any of the given values are returned
policies
arrayIf specified, only events where the action policies match any of the given policies are returned
removedLabels
arrayIf specified, only events where all of these labels were removed are returned
removedTags
arrayIf specified, only events where all of these tags were removed are returned
reportTypes
arraysortDirection
stringSort direction for the events. Defaults to descending order of created at timestamp.
default: "desc"enum: asc | desc
subject
string · urisubjectType
stringIf specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.
knownValues: account | record | conversation
types
arrayThe types of events (fully qualified string in the format of tools.ozone.moderation.defs#modEvent<name>) to filter by. If not specified, all events are returned.
withStrike
booleanIf specified, only events where strikeCount value is set are returned.
Output
application/jsoncursor
stringSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
View moderation statuses of subjects (record or repo).
-
View moderation reports. Reports are individual instances of content being reported, as opposed to subject statuses which aggregate reports at the subject level.
-
Global audit journal browser for the moderation console. Returns moderation_audit rows in reverse-chronological (created_at, id) keyset order, optionally filtered by acting moderator, action type, or subject DID. Complements getSubjectModerationHistory (per-subject view) with the 'what has the team been doing' view. Requires the caller to be an active moderator.
-
Get timeline of all available events of an account. This includes moderation events, account history and did history.
-
List subjects belonging to the authenticated account that have moderation actions from this moderation service.