Skip to main content

LIBRARY_UPLOAD_URL

Constant LIBRARY_UPLOAD_URL 

Source
pub const LIBRARY_UPLOAD_URL: &str = "https://upload.smugmug.com/api/v2/library";
Expand description

Upload endpoint for SmugMug’s Library (“All Media”): media uploaded here isn’t placed in any album/gallery. Not in SmugMug’s public API docs; discovered from the web uploader. It takes a multipart form (Media, ByteCount, Sha256Sum, optional Filepath/Title/Caption/ Keywords) and answers 201 with the standard v2 envelope ({"Response":{"Image":{...}},"Code":201}).