- URL:
- https://<root>/uploads/config
- Methods:
POST- Version Introduced:
- 12.0
Description
The config operation allows administrators to modify the maximum upload file size and the maximum request size for the video server.
Request Parameters
| Parameter | Details |
|---|---|
(Required) | The maximum allowed file size, in MB, for all uploads to the video server. The default value is 5000 MB. The maximum value that can be allocated is 10GB (10000 MB). |
(Required) | Establishes the maximum allowed request size, in MB, for all requests made to the Video Server. The default and maximum value is 100 MB. |
(Required) | The output format for this operation. The default value is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Example usage
The following is a sample POST request for the config operation:
POST /rest/uploads/config HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
maxFileUploadSize=10000&maxRequestSize=100&f=pjson&token=<token>Example Response syntax
{"success": <true | false>}Example Response example
{"success": true}