Files

File upload and download operations

Generate signed download URL for a file

get
Query parameters
urlstringRequired

The file URL to generate download link for

Responses
200

Download URL generated

application/json
get
GET /api/download?url=text HTTP/1.1
Host: 
Accept: */*
{
  "downloadUrl": "text"
}

Upload files

post
Body
filestring · binaryOptional
filesstring · binary[]Optional
Responses
200

Files uploaded successfully

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"
    }
  ]
}

Generate presigned upload URL

post
Body
fileNamestringRequired
contentTypestringRequired
Responses
200

Presigned URL generated

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"
}