tools.ozone.moderation.queryStatuses

Domain Index: ozone.tools

Crawl History

#main - query

View moderation statuses of subjects (record or repo).

Query Parameters

Name Type Details
appealed boolean

Get subjects in unresolved appealed status

collections array

If specified, subjects belonging to the given collections will be returned. When subjectType is set to 'account', this will be ignored.

Array Length: 20 max

UNHANDLED IN ARRAYS: string

comment string

Search subjects by keyword from comments

cursor string
excludeTags array

UNHANDLED IN ARRAYS: string

hostingDeletedAfter string

Search subjects where the associated record/account was deleted after a given timestamp

Syntax Format: datetime

hostingDeletedBefore string

Search subjects where the associated record/account was deleted before a given timestamp

Syntax Format: datetime

hostingStatuses array

Search subjects by the status of the associated record/account

UNHANDLED IN ARRAYS: string

hostingUpdatedAfter string

Search subjects where the associated record/account was updated after a given timestamp

Syntax Format: datetime

hostingUpdatedBefore string

Search subjects where the associated record/account was updated before a given timestamp

Syntax Format: datetime

ignoreSubjects array

UNHANDLED IN ARRAYS: string

includeAllUserRecords boolean

All subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned.

includeMuted boolean

By default, we don't include muted subjects in the results. Set this to true to include them.

lastReviewedBy string

Get all subject statuses that were reviewed by a specific moderator

Syntax Format: did

limit integer

Default: 50

Minimum: 1

Maxumum:

minAccountSuspendCount integer

If specified, only subjects that belong to an account that has at least this many suspensions will be returned.

minReportedRecordsCount integer

If specified, only subjects that belong to an account that has at least this many reported records will be returned.

minTakendownRecordsCount integer

If specified, only subjects that belong to an account that has at least this many taken down records will be returned.

onlyMuted boolean

When set to true, only muted subjects and reporters will be returned.

queueCount integer

Number of queues being used by moderators. Subjects will be split among all queues.

queueIndex integer

Index of the queue to fetch subjects from. Works only when queueCount value is specified.

queueSeed string

A seeder to shuffle/balance the queue items.

reportedAfter string

Search subjects reported after a given timestamp

Syntax Format: datetime

reportedBefore string

Search subjects reported before a given timestamp

Syntax Format: datetime

reviewState string

Specify when fetching subjects in a certain state

reviewedAfter string

Search subjects reviewed after a given timestamp

Syntax Format: datetime

reviewedBefore string

Search subjects reviewed before a given timestamp

Syntax Format: datetime

sortDirection string

Default: desc

Enum Values: asc, desc,

sortField string

Default: lastReportedAt

Enum Values: lastReviewedAt, lastReportedAt, reportedRecordsCount, takendownRecordsCount,

subject string

The subject to get the status for.

Syntax Format: uri

subjectType string

If specified, subjects of the given type (account or record) 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.

Known Values: account, record,

tags array

Array Length: 25 max

UNHANDLED IN ARRAYS: string

takendown boolean

Get subjects that were taken down

Response Body

Content Type: application/json

Data Fields

Name Type Details
cursor string
subjectStatuses array (required)

Elements are of type:

Errors

No error types defined