R2Resource
Low-level signed object-upload helpers. Prefer the video upload extensions.
Functions
Link copied to clipboard
fun presignUploadFile(mode: String, groupName: String, streamName: String, modality: String, filename: String, expiresIn: Int = 900): PresignedUploadResponse
Creates a pre-authorized upload location for one file.
Link copied to clipboard
fun presignUploadFolderVideo(mode: String, groupName: String, streamName: String, filenames: List<String>, expiresIn: Int = 900): PresignedFolderResponse
Creates pre-authorized upload locations for a video-file batch.