mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-23 22:43:42 +01:00
Merge pull request #364 from Ralith/upload-filename
Document filename query parameter for uploads
This commit is contained in:
commit
60875770fc
|
|
@ -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