NAME
Apertur::SDK::Resource::Upload - Image upload operations
DESCRIPTION
Handles uploading images to an upload session, both plain multipart and end-to-end encrypted.
METHODS
- image($uuid, $file, %options)
-
Uploads an image via multipart POST.
$filecan be a file path string or a scalar reference containing raw bytes. Options:filename,mimeType(ormime_type),source,password. - image_encrypted($uuid, $file, $public_key, %options)
-
Encrypts an image with AES-256-GCM (key wrapped with RSA-OAEP) and uploads it as a JSON payload. Requires
Crypt::OpenSSL::RSAandCryptX. Options: same asimage.