Skip to content
VitePress OpenAPI
Search
K
Main Navigation
Showcase
Sandbox
Appearance
Menu
Return to top
v1.0.0
Upload/Download API
Download OpenAPI Document
JSON
Download OpenAPI Document
YAML
Simple REST API to upload and download files
Servers
https://vitepress-openapi.wiremockapi.cloud
Default
Operations
POST
/files/upload
GET
/files/download
Hide operations
POST /files/upload
POST
/files/upload
Request Body
multipart/form-data
Schema
object
file
string
Format
"binary"
Responses
201
400
File uploaded
Content-Type
application/json
Schema
JSON
object
name
string
Required
size
integer
Required
Minimum
0
type
string
url
string
Required
POST
/files/upload
Playground
Body
Try it out
Samples
cURL
JavaScript
PHP
Python
cURL
JavaScript
PHP
Python
GET /files/download
GET
/files/download
Responses
200
File content
Content-Type
application/octet-stream
Schema
JSON
string
Format
"binary"
GET
/files/download
Playground
Try it out
Samples
cURL
JavaScript
PHP
Python
cURL
JavaScript
PHP
Python
Powered by
VitePress OpenAPI