Media API
The Media API provides services to manage the media.
Endpoints
# Endpoints
Upload Media
This endpoint uploads the media to the server. All uploaded files via this endpoint are only temporarily available in the cloud. If the files are not assigned one day after the upload, the files will be removed permanently.
Request (UploadReqDTO)
POST /web/media/upload
Key | Type | Value |
---|---|---|
files | file | - |
Response (UploadResDTO)
{
"success": true,
"message": "",
"data": [
{
"fileKey": "temp/1234",
"url": "https://jcci-test.app-domain.com/temp/1234"
}
]
}
Resources
UploadReqDTO
properties
files
filesA list of files for upload into the server.
UploadResDTO
properties
fileKey
stringThe S3 key for the file or folder.
url
stringThe url path of the uploaded files.