QueryReportsQueryParams

data class QueryReportsQueryParams(val queueId: Long? = null, val reportTypes: List<String>? = null, val status: QueryReportsStatus, val subject: Uri? = null, val did: Did? = null, val subjectType: QueryReportsSubjectType? = null, val collections: List<Nsid>? = null, val reportedAfter: Timestamp? = null, val reportedBefore: Timestamp? = null, val isMuted: Boolean? = false, val assignedTo: Did? = null, val sortField: String? = "createdAt", val sortDirection: String? = "desc", val limit: Long? = 50, val cursor: String? = null)

Parameters

queueId

Filter by queue ID. Use -1 for unassigned reports.

reportTypes

Filter by report types (fully qualified string in the format of com.atproto.moderation.defs#reason).

status

Filter by report status.

subject

Filter by subject DID or AT-URI.

did

Filter to reports where the subject is this DID or any record owned by this DID. Unlike subject (which scopes to a specific account or record), this returns all reports tied to the DID across both account-level and record-level subjects.

subjectType

If specified, reports of the given type (account or record) will be returned.

collections

If specified, reports where the subject belongs to the given collections will be returned. When subjectType is set to 'account', this will be ignored.

reportedAfter

Retrieve reports created after a given timestamp

reportedBefore

Retrieve reports created before a given timestamp

isMuted

Filter by muted status. true returns only muted reports, false returns only unmuted reports. Defaults to false.

assignedTo

Filter by the DID of the moderator permanently assigned to the report.

Constructors

Link copied to clipboard
constructor(queueId: Long? = null, reportTypes: List<String>? = null, status: QueryReportsStatus, subject: Uri? = null, did: Did? = null, subjectType: QueryReportsSubjectType? = null, collections: List<Nsid>? = null, reportedAfter: Timestamp? = null, reportedBefore: Timestamp? = null, isMuted: Boolean? = false, assignedTo: Did? = null, sortField: String? = "createdAt", sortDirection: String? = "desc", limit: Long? = 50, cursor: String? = null)

Properties

Link copied to clipboard

Filter by the DID of the moderator permanently assigned to the report.

Link copied to clipboard

If specified, reports where the subject belongs to the given collections will be returned. When subjectType is set to 'account', this will be ignored.

Link copied to clipboard
Link copied to clipboard
val did: Did?

Filter to reports where the subject is this DID or any record owned by this DID. Unlike subject (which scopes to a specific account or record), this returns all reports tied to the DID across both account-level and record-level subjects.

Link copied to clipboard

Filter by muted status. true returns only muted reports, false returns only unmuted reports. Defaults to false.

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

Filter by queue ID. Use -1 for unassigned reports.

Link copied to clipboard

Retrieve reports created after a given timestamp

Link copied to clipboard

Retrieve reports created before a given timestamp

Link copied to clipboard

Filter by report types (fully qualified string in the format of com.atproto.moderation.defs#reason).

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

Filter by report status.

Link copied to clipboard
val subject: Uri?

Filter by subject DID or AT-URI.

Link copied to clipboard

If specified, reports of the given type (account or record) will be returned.

Functions

Link copied to clipboard