Skip to main content

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 /app/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
    files
    A list of files for upload into the server.

UploadResDTO

properties
  • fileKey
    string
    The S3 key for the file or folder.
  • url
    string
    The url path of the uploaded files.