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
/downloadGET /api/download?url=text HTTP/1.1
Host:
Accept: */*
{
"downloadUrl": "text"
}Upload files including images, videos, AR World files, and other content types
Body
filestring · binaryOptional
Single file upload
filesstring · binary[]Optional
Multiple file uploads
Responses
200
Upload successful
application/json
400
Bad request
application/json
500
Internal server error
application/json
post
/uploadPOST /api/upload HTTP/1.1
Host:
Content-Type: multipart/form-data
Accept: */*
Content-Length: 36
{
"file": "binary",
"files": [
"binary"
]
}{
"status": "success",
"results": [
{
"status": "success",
"message": "text",
"url": "https://example.com",
"fileId": 1,
"fileName": "text",
"fileSize": 1,
"mimeType": "text",
"arWorldUrl": "https://example.com"
}
]
}Body
fileNamestringRequired
contentTypestringRequired
Responses
200
Presigned URL generated
application/json
400
Bad request
application/json
500
Internal server error
application/json
post
/upload/presignedPOST /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"
}