MediaUploadCompletedEvent
@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
network_id?
optionalnetwork_id?:string
Defined in: types/events.ts:20
Network the event belongs to (multi-network deployments).
Inherited from
event_name
event_name:
"media.upload.completed"
Defined in: types/events.ts:236
Discriminator.
Overrides
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?
optionalblob_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?
optionalorganization_id?:string
Defined in: types/events.ts:252
Owning organization ID, if applicable.