Skip to main content

Module api

Module api 

Source
Available on crate feature async only.
Expand description

The async Files<'a> namespace.

MethodPathFunction
POST/v1/filesFiles::upload / Files::upload_path
GET/v1/files/{id}Files::get
GET/v1/files/{id}/contentFiles::download / Files::download_to
GET/v1/filesFiles::list / Files::list_all
DELETE/v1/files/{id}Files::delete

Obtain via Client::files. Both upload and download support true streaming I/O via the _path / _to variants.

Structsยง

Files
Namespace handle for the Files API.