storage
Storage-related models for the API.
These models are used for storage operations including pre-signed URLs for S3 uploads.
PreRegistrationResponse
pydantic-model
¶
Bases: MessageResponse
Response for recording pre-registration including presigned PUT URL.
Fields:
-
message(str) -
recording(RecordingOut) -
presigned_upload(PreSignedUploadUrl)
PreSignedDownloadUrl
pydantic-model
¶
Bases: BaseModel
Pre-signed GET URL for direct S3 download.
Fields:
-
url(AnyUrl) -
filename(str) -
expires(timedelta) -
etag(str | None)
etag = None
pydantic-field
¶
The object's ETag when it was accepted. A reader that sends it as If-Match is refused with 412 if the object has changed since; null for a recording accepted before ETags were recorded.
PreSignedUploadUrl
pydantic-model
¶
Bases: BaseModel
Pre-signed PUT URL for direct S3 upload.
Fields:
-
url(AnyUrl) -
expires(timedelta) -
headers(dict[str, str])
headers
pydantic-field
¶
Headers the PUT must send, as they are signed into the URL. If-None-Match: * makes the URL create the object once: a second PUT with it is refused with 412 and changes nothing.