QueryStatusesQueryParams

data class QueryStatusesQueryParams(val queueCount: Long? = null, val queueIndex: Long? = null, val queueSeed: String? = null, val includeAllUserRecords: Boolean? = null, val subject: Uri? = null, val comment: String? = null, val reportedAfter: Timestamp? = null, val reportedBefore: Timestamp? = null, val reviewedAfter: Timestamp? = null, val hostingDeletedAfter: Timestamp? = null, val hostingDeletedBefore: Timestamp? = null, val hostingUpdatedAfter: Timestamp? = null, val hostingUpdatedBefore: Timestamp? = null, val hostingStatuses: List<String>? = null, val reviewedBefore: Timestamp? = null, val includeMuted: Boolean? = null, val onlyMuted: Boolean? = null, val reviewState: String? = null, val ignoreSubjects: List<Uri>? = null, val lastReviewedBy: Did? = null, val sortField: String? = "lastReportedAt", val sortDirection: String? = "desc", val takendown: Boolean? = null, val appealed: Boolean? = null, val limit: Long? = 50, val tags: List<String>? = null, val excludeTags: List<String>? = null, val cursor: String? = null, val collections: List<Nsid>? = null, val subjectType: QueryStatusesSubjectType? = null, val minAccountSuspendCount: Long? = null, val minReportedRecordsCount: Long? = null, val minTakendownRecordsCount: Long? = null, val minPriorityScore: Long? = null, val minStrikeCount: Long? = null, val ageAssuranceState: QueryStatusesAgeAssuranceState? = null)

Parameters

queueCount

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

queueIndex

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

queueSeed

A seeder to shuffle/balance the queue items.

includeAllUserRecords

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

subject

The subject to get the status for.

comment

Search subjects by keyword from comments

reportedAfter

Search subjects reported after a given timestamp

reportedBefore

Search subjects reported before a given timestamp

reviewedAfter

Search subjects reviewed after a given timestamp

hostingDeletedAfter

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

hostingDeletedBefore

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

hostingUpdatedAfter

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

hostingUpdatedBefore

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

hostingStatuses

Search subjects by the status of the associated record/account

reviewedBefore

Search subjects reviewed before a given timestamp

includeMuted

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

onlyMuted

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

reviewState

Specify when fetching subjects in a certain state

lastReviewedBy

Get all subject statuses that were reviewed by a specific moderator

takendown

Get subjects that were taken down

appealed

Get subjects in unresolved appealed status

collections

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

subjectType

If 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.

minAccountSuspendCount

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

minReportedRecordsCount

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

minTakendownRecordsCount

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

minPriorityScore

If specified, only subjects that have priority score value above the given value will be returned.

minStrikeCount

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

ageAssuranceState

If specified, only subjects with the given age assurance state will be returned.

Constructors

Link copied to clipboard
constructor(queueCount: Long? = null, queueIndex: Long? = null, queueSeed: String? = null, includeAllUserRecords: Boolean? = null, subject: Uri? = null, comment: String? = null, reportedAfter: Timestamp? = null, reportedBefore: Timestamp? = null, reviewedAfter: Timestamp? = null, hostingDeletedAfter: Timestamp? = null, hostingDeletedBefore: Timestamp? = null, hostingUpdatedAfter: Timestamp? = null, hostingUpdatedBefore: Timestamp? = null, hostingStatuses: List<String>? = null, reviewedBefore: Timestamp? = null, includeMuted: Boolean? = null, onlyMuted: Boolean? = null, reviewState: String? = null, ignoreSubjects: List<Uri>? = null, lastReviewedBy: Did? = null, sortField: String? = "lastReportedAt", sortDirection: String? = "desc", takendown: Boolean? = null, appealed: Boolean? = null, limit: Long? = 50, tags: List<String>? = null, excludeTags: List<String>? = null, cursor: String? = null, collections: List<Nsid>? = null, subjectType: QueryStatusesSubjectType? = null, minAccountSuspendCount: Long? = null, minReportedRecordsCount: Long? = null, minTakendownRecordsCount: Long? = null, minPriorityScore: Long? = null, minStrikeCount: Long? = null, ageAssuranceState: QueryStatusesAgeAssuranceState? = null)

Properties

Link copied to clipboard

If specified, only subjects with the given age assurance state will be returned.

Link copied to clipboard

Get subjects in unresolved appealed status

Link copied to clipboard

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

Link copied to clipboard

Search subjects by keyword from comments

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Search subjects by the status of the associated record/account

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Get all subject statuses that were reviewed by a specific moderator

Link copied to clipboard
val limit: Long?
Link copied to clipboard

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

Link copied to clipboard

If specified, only subjects that have priority score value above the given value will be returned.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

A seeder to shuffle/balance the queue items.

Link copied to clipboard

Search subjects reported after a given timestamp

Link copied to clipboard

Search subjects reported before a given timestamp

Link copied to clipboard

Search subjects reviewed after a given timestamp

Link copied to clipboard

Search subjects reviewed before a given timestamp

Link copied to clipboard

Specify when fetching subjects in a certain state

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val subject: Uri?

The subject to get the status for.

Link copied to clipboard

If 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.

Link copied to clipboard
Link copied to clipboard

Get subjects that were taken down

Functions

Link copied to clipboard