Content
Last edit: Oct 13, 2026
Allowed content type of the uploaded file
type Content {
starts_with: String
value: String
}
Fields
starts_with (String)
The content type of the uploaded file must start with this value, e.g.
image/. Enforced only together with include_content_type: true, since the
upload form must then send its own Content-Type field; on its own it is
accepted but not enforced
value (String)
The content type of the uploaded file must be exactly this value, e.g. image/png