Files
File upload and download operations
Query parameters
urlstringRequired
The file URL to generate download link for
Responses
200
Download URL generated
application/json
400
Bad request
application/json
500
Internal server error
application/json
get
GET /api/download?url=text HTTP/1.1
Host:
Accept: */*
{
"downloadUrl": "text"
}
Body
filestring · binaryOptional
filesstring · binary[]Optional
Responses
200
Files uploaded successfully
application/json
400
Bad request
application/json
500
Internal server error
application/json
post
POST /api/upload HTTP/1.1
Host:
Content-Type: multipart/form-data
Accept: */*
Content-Length: 36
{
"file": "binary",
"files": [
"binary"
]
}
{
"status": "text",
"results": [
{
"url": "text",
"key": "text"
}
]
}
Body
fileNamestringRequired
contentTypestringRequired
Responses
200
Presigned URL generated
application/json
400
Bad request
application/json
500
Internal server error
application/json
post
POST /api/upload/presigned HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"fileName": "text",
"contentType": "text"
}
{
"uploadUrl": "text",
"key": "text",
"url": "text"
}