mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-14 07:04:09 +02:00
Document filename query parameter for uploads
Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
This commit is contained in:
parent
81630300fe
commit
3e2dea4c52
|
|
@ -33,6 +33,11 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
description: The content type of the file being uploaded
|
description: The content type of the file being uploaded
|
||||||
x-example: "Content-Type: audio/mpeg"
|
x-example: "Content-Type: audio/mpeg"
|
||||||
|
- in: query
|
||||||
|
type: string
|
||||||
|
x-example: "War%20and%20Peace.pdf"
|
||||||
|
name: filename
|
||||||
|
description: The name of the file being uploaded
|
||||||
- in: body
|
- in: body
|
||||||
name: "<content>"
|
name: "<content>"
|
||||||
description: The content to be uploaded.
|
description: The content to be uploaded.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue