Upload a file CDN
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URLAuth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEYThis is the z-order of the uploaded file. By default, the value is 0. E.g. 1, 2, 3, etc.
This contains the file to upload.
This is used to change the saving file name. E.g. "profile.jpg", "feedback.png", etc. Note: If this is not set, the file name will be the same as the uploaded file name.
This is the prefix folder before the file name. E.g. "profile", "assets", etc.
This is the object reference of the uploaded file. This is used to reference the object.
This is the reference id of the uploaded file. This is used to reference the Id of the object.
This is the notes of the uploaded file. E.g. "Profile picture", "Feedback screenshot", etc.
This is the tags of the uploaded file. E.g. "#MyProfile", "#Feedback", etc.
This enum is used to define the CDN path type. This is the root folder of the uploaded file in the CDN. For further information, visit here: https://whitepaper.jframework.io/other-concepts/cdn/cdn-storage
The test mode of the file upload.
The request was successful.
The API result model with data.
This is the flag to indicate whether the API call is successful or not.
This is the HTTP status code. This is used to determine the status code to be returned to the client.
This is the message to be displayed to the user.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
API call exceeded rate limit due to too many requests.
Last updated