Expand description
Attachments over HTTP. The rules are in crate::attach.
An upload is the file’s bytes as the request body — not a multipart form —
with its media type as Content-Type and its name, kind and note in the
query string. It streams to disk as it arrives and is refused with 413
the moment it passes the limit. A download streams from disk.
Structs§
Functions§
- download
- Stream a file.
- info
- Metadata and server-computed edit permission for a document tab.
- list
- A part’s files, and one revision’s.
- remove
- Remove an attachment.
- replace
- upload_
to_ part - Attach a file to a part.
- upload_
to_ revision - Attach a file to one revision.