Skip to content

MediaUploadCompletedEvent

@blobs/sdk v0.1.0


@blobs/sdk / types/events / MediaUploadCompletedEvent

Defined in: types/events.ts:234

Emitted once a media upload has finished and is downloadable.

Extends

Properties

timestamp

timestamp: string

Defined in: types/events.ts:18

ISO-8601 timestamp the event was emitted.

Inherited from

BaseEvent.timestamp


network_id?

optional network_id?: string

Defined in: types/events.ts:20

Network the event belongs to (multi-network deployments).

Inherited from

BaseEvent.network_id


event_name

event_name: "media.upload.completed"

Defined in: types/events.ts:236

Discriminator.

Overrides

BaseEvent.event_name


media_id

media_id: string

Defined in: types/events.ts:238

ID of the media record.


user_id

user_id: string

Defined in: types/events.ts:240

Uploading user.


blob_id?

optional blob_id?: string

Defined in: types/events.ts:242

Blob the upload attached to, if any.


filename

filename: string

Defined in: types/events.ts:244

Stored filename.


mime_type

mime_type: string

Defined in: types/events.ts:246

Detected MIME type.


size_bytes

size_bytes: number

Defined in: types/events.ts:248

Final size in bytes.


download_url

download_url: string

Defined in: types/events.ts:250

URL the client can fetch the bytes from.


organization_id?

optional organization_id?: string

Defined in: types/events.ts:252

Owning organization ID, if applicable.