CloseReportsRequest

data class CloseReportsRequest(val subject: Uri, val includeAllOwned: Boolean? = false, val reportTypes: List<String>? = null, val excludedReportTypes: List<String>? = null, val actionEventId: Long? = null, val internalNote: String? = null, val isAutomated: Boolean? = false, val meta: JsonContent? = null)

Parameters

subject

Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.

includeAllOwned

If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.

actionEventId

Optional existing moderation event that closes reports. It must target the exact subject or its owning account; account-wide closure requires an account event. The event is linked to each closed report and may predate the report. The link does not imply the action is still in effect.

internalNote

Optional moderator-only note recorded on each close activity. Not visible to reporters.

isAutomated

Set true when this action is triggered by an automated process. Defaults to false.

meta

Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.

Constructors

Link copied to clipboard
constructor(subject: Uri, includeAllOwned: Boolean? = false, reportTypes: List<String>? = null, excludedReportTypes: List<String>? = null, actionEventId: Long? = null, internalNote: String? = null, isAutomated: Boolean? = false, meta: JsonContent? = null)

Properties

Link copied to clipboard

Optional existing moderation event that closes reports. It must target the exact subject or its owning account; account-wide closure requires an account event. The event is linked to each closed report and may predate the report. The link does not imply the action is still in effect.

Link copied to clipboard
Link copied to clipboard

If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.

Link copied to clipboard

Optional moderator-only note recorded on each close activity. Not visible to reporters.

Link copied to clipboard

Set true when this action is triggered by an automated process. Defaults to false.

Link copied to clipboard

Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.

Link copied to clipboard
Link copied to clipboard

Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.