EmitEventRequest

data class EmitEventRequest(val event: EmitEventRequestEventUnion, val subject: EmitEventRequestSubjectUnion, val subjectBlobCids: List<Cid>? = null, val createdBy: Did, val modTool: ModTool? = null, val externalId: String? = null, val reportAction: EmitEventReportAction? = null)

Parameters

externalId

An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject.

reportAction

Optional report-level targeting. If provided, this event will be linked to specific reports and reporters may be notified.

Constructors

Link copied to clipboard
constructor(event: EmitEventRequestEventUnion, subject: EmitEventRequestSubjectUnion, subjectBlobCids: List<Cid>? = null, createdBy: Did, modTool: ModTool? = null, externalId: String? = null, reportAction: EmitEventReportAction? = null)

Properties

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

An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject.

Link copied to clipboard
Link copied to clipboard

Optional report-level targeting. If provided, this event will be linked to specific reports and reporters may be notified.

Link copied to clipboard
Link copied to clipboard