tools.ozone.moderation.queryStatuses
View moderation statuses of subjects (record or repo).
Details · query
| Kind | query |
|---|---|
| Authority | moderation.ozone.tools |
| Indexed |
Query
query · GETParameters
query stringageAssuranceState
stringIf specified, only subjects with the given age assurance state will be returned.
knownValues: pending | assured | unknown | reset | blocked
appealed
booleanGet subjects in unresolved appealed status
collections
arrayIf specified, subjects belonging to the given collections will be returned. When subjectType is set to 'account', this will be ignored.
maxLength: 20
comment
stringSearch subjects by keyword from comments
cursor
stringexcludeTags
arrayhostingDeletedAfter
string · datetimeSearch subjects where the associated record/account was deleted after a given timestamp
hostingDeletedBefore
string · datetimeSearch subjects where the associated record/account was deleted before a given timestamp
hostingStatuses
arraySearch subjects by the status of the associated record/account
hostingUpdatedAfter
string · datetimeSearch subjects where the associated record/account was updated after a given timestamp
hostingUpdatedBefore
string · datetimeSearch subjects where the associated record/account was updated before a given timestamp
ignoreSubjects
arrayincludeAllUserRecords
booleanAll subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned.
includeMuted
booleanBy default, we don't include muted subjects in the results. Set this to true to include them.
lastReviewedBy
string · didGet all subject statuses that were reviewed by a specific moderator
limit
integerminimum: 1maximum: 100default: 50
minAccountSuspendCount
integerIf specified, only subjects that belong to an account that has at least this many suspensions will be returned.
minPriorityScore
integerIf specified, only subjects that have priority score value above the given value will be returned.
minimum: 0maximum: 100
minReportedRecordsCount
integerIf specified, only subjects that belong to an account that has at least this many reported records will be returned.
minStrikeCount
integerIf specified, only subjects that belong to an account that has at least this many active strikes will be returned.
minimum: 1
minTakendownRecordsCount
integerIf specified, only subjects that belong to an account that has at least this many taken down records will be returned.
onlyMuted
booleanWhen set to true, only muted subjects and reporters will be returned.
queueCount
integerNumber of queues being used by moderators. Subjects will be split among all queues.
queueIndex
integerIndex of the queue to fetch subjects from. Works only when queueCount value is specified.
queueSeed
stringA seeder to shuffle/balance the queue items.
reportedAfter
string · datetimeSearch subjects reported after a given timestamp
reportedBefore
string · datetimeSearch subjects reported before a given timestamp
reviewState
stringSpecify when fetching subjects in a certain state
knownValues: tools.ozone.moderation.defs#reviewOpen | tools.ozone.moderation.defs#reviewClosed | tools.ozone.moderation.defs#reviewEscalated | tools.ozone.moderation.defs#reviewNone
reviewedAfter
string · datetimeSearch subjects reviewed after a given timestamp
reviewedBefore
string · datetimeSearch subjects reviewed before a given timestamp
sortDirection
stringdefault: "desc"enum: asc | desc
sortField
stringdefault: "lastReportedAt"enum: lastReviewedAt | lastReportedAt | reportedRecordsCount | takendownRecordsCount | priorityScore
subject
string · uriThe subject to get the status for.
subjectType
stringIf specified, subjects 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
tags
arraymaxLength: 25
Items in this array are applied with OR filters. To apply AND filter, put all tags in the same string and separate using && characters
takendown
booleanGet subjects that were taken down
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 reports. Reports are individual instances of content being reported, as opposed to subject statuses which aggregate reports at the subject level.
-
List moderation events related to a subject.
-
List subjects belonging to the authenticated account that have moderation actions from this moderation service.
-
Cursored listing of moderation reports for the queue view. Filterable by status, subject type, reason, reporter, and subject author. Sorted by (created_at DESC, id DESC). Requires the caller to be an active moderator (any role).
-
List all configured moderation queues with statistics.