QueryStatusesQueryParams

data class QueryStatusesQueryParams(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: ReadOnlyList<String> = persistentListOf(), val reviewedBefore: Timestamp? = null, val includeMuted: Boolean? = null, val onlyMuted: Boolean? = null, val reviewState: String? = null, val ignoreSubjects: ReadOnlyList<Uri> = persistentListOf(), 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: ReadOnlyList<String> = persistentListOf(), val excludeTags: ReadOnlyList<String> = persistentListOf(), val cursor: String? = null, val collections: ReadOnlyList<Nsid> = persistentListOf(), val subjectType: QueryStatusesSubjectType? = null)

Parameters

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

Constructors

Link copied to clipboard
constructor(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: ReadOnlyList<String> = persistentListOf(), reviewedBefore: Timestamp? = null, includeMuted: Boolean? = null, onlyMuted: Boolean? = null, reviewState: String? = null, ignoreSubjects: ReadOnlyList<Uri> = persistentListOf(), lastReviewedBy: Did? = null, sortField: String? = "lastReportedAt", sortDirection: String? = "desc", takendown: Boolean? = null, appealed: Boolean? = null, limit: Long? = 50, tags: ReadOnlyList<String> = persistentListOf(), excludeTags: ReadOnlyList<String> = persistentListOf(), cursor: String? = null, collections: ReadOnlyList<Nsid> = persistentListOf(), subjectType: QueryStatusesSubjectType? = null)

Properties

Link copied to clipboard
val appealed: Boolean? = null

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
val comment: String? = null

Search subjects by keyword from comments

Link copied to clipboard
val cursor: String? = null
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
val includeMuted: Boolean? = null

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

Link copied to clipboard
val lastReviewedBy: Did? = null

Get all subject statuses that were reviewed by a specific moderator

Link copied to clipboard
val limit: Long? = 50
Link copied to clipboard
val onlyMuted: Boolean? = null

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

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
val reviewState: String? = null

Specify when fetching subjects in a certain state

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

The subject to get the status for.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard
val takendown: Boolean? = null

Get subjects that were taken down

Functions

Link copied to clipboard