MediaUploadPreparedEvent
@blobs/sdk / types/events / MediaUploadPreparedEvent
Defined in: types/events.ts:212
Emitted when a media upload is prepared (presigned URL issued).
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.prepared"
Defined in: types/events.ts:214
Discriminator.
Overrides
media_id
media_id:
string
Defined in: types/events.ts:216
ID of the media record.
user_id
user_id:
string
Defined in: types/events.ts:218
Uploading user.
blob_id?
optionalblob_id?:string
Defined in: types/events.ts:220
Blob the upload will attach to, if any.
filename
filename:
string
Defined in: types/events.ts:222
Original filename.
mime_type
mime_type:
string
Defined in: types/events.ts:224
Detected MIME type.
size_bytes
size_bytes:
number
Defined in: types/events.ts:226
Expected size in bytes.
upload_url
upload_url:
string
Defined in: types/events.ts:228
Pre-signed URL the client should PUT/POST bytes to.
organization_id?
optionalorganization_id?:string
Defined in: types/events.ts:230
Owning organization ID, if applicable.