Get Upload Configuration
/files/uploadconfig
Gets upload configuration for a specified path.
The path parameter is optional. Disk properties (minimum and maximum sizes) are returned only when path is specified. If path is not provided, the default values are returned: 1 for the minimum size and -1 for the maximum size, indicating that no size limits are enforced.
Note: The upper limit is only applicable to implementations handled through disk. It is not applicable for object storage or DB storage.
Request
-
path:
Catalog path of the folder to which you want to upload the file.
Response
Default Response
Examples
The following example shows how to get configuration details for a specified path:
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat.
cURL Command
This example gets configuration details for the specified path.
call properties.bat
curl -X GET \
"https://myserver.example.com:9001/essbase/rest/v1/files/uploadconfig?path=properties.bat" \
-H "Accept: application/json" \
-u "%User%:%Password%"Response Body
The response includes a download link.
{
"uploadPartSizeInMB": 10,
"maxAllowedUploadPartSizeInGB": 10,
"maxNumAllowedParts": 10000,
"uploadeRetryCount": 3,
"purgePartsAfterDays": 7,
"cleanUpPartsInterval": 7,
"minFileSize": 1,
"maxFileSize": -1
}