Files
Upload photos, videos and documents, read them back, and remove them.
Commands
- PostDelete a file
files.file.removeDeletes a file for good.
Queries
- GetA file's details
files.file.getThe file's name, kind, and the type and size of each copy, or null when there is no such file.
Routes
- PostUpload a new file
files.uploadCreates a file from its first copy, sent as the raw request body with its Content-Type and an exact Content-Length. - PutUpload a file's missing copy
files.add_copyAdds the original or the display copy a file doesn't have yet, sent as the raw request body. - GetDownload a file's bytes
files.contentStreams the display copy, or the original when there is none. copy picks one, and download=1 asks the browser to save it.