ListReportsQueryParams

data class ListReportsQueryParams(val did: Did? = null, val filter: String? = "all", val sortField: String? = "updatedAt", val sortDirection: String? = "desc", val limit: Long? = 50, val cursor: String? = null)

Parameters

did

Account to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.

filter

Filter report activity. unread includes reports whose updatedAt is after the reports section's seenAt watermark.

cursor

An opaque cursor for pagination.

Constructors

Link copied to clipboard
constructor(did: Did? = null, filter: String? = "all", sortField: String? = "updatedAt", sortDirection: String? = "desc", limit: Long? = 50, cursor: String? = null)

Properties

Link copied to clipboard

An opaque cursor for pagination.

Link copied to clipboard
val did: Did?

Account to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.

Link copied to clipboard

Filter report activity. unread includes reports whose updatedAt is after the reports section's seenAt watermark.

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

Functions

Link copied to clipboard