UploadSession

@Serializable
data class UploadSession(val id: String? = null, val url: String, val expires: String? = null, val type: String? = null)

Parameters

id

The upload ID. The client needs to use this ID to call Bridge when the upload is complete.

url

A pre-signed URL for doing a PUT upload of the data. The URL will remain valid for 24 hours once created on the Bridge side.

expires

The ISO 8601 date and time stamp at which this session will expire.

type

UploadSession

Constructors

Link copied to clipboard
constructor(id: String? = null, url: String, expires: String? = null, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "expires")
val expires: String? = null
Link copied to clipboard
@SerialName(value = "id")
val id: String? = null
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null
Link copied to clipboard
@SerialName(value = "url")
val url: String