Product Documentation

video_caching_config

Oct 21, 2015

Get and Set video caching global parameters and clear video cache

Properties

Name Data Type Read-Only? Description
maxobjectsize
<Integer>
No

Maximum video object or file size in Megabytes. Allowed sizes are 100, 200, 300 MB

Operations

Hinweis

Mandatory parameters are marked in red and placeholder content is marked in <green>.

GET

Use this operation to get video caching global parameters

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/video_caching_config/

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.video_caching_config+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.video_caching_config+json

Response Payload: JSON

{"video_caching_config":{
"maxobjectsize": <integer_value>
}}

MODIFY

Use this operation to modify video caching global parameters

HTTP Method: PUT

URL: https://<cb_ip_address>/cb/nitro/v1/config/video_caching_config

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Content-Type: application/vnd.com.citrix.cloudbridge.video_caching_config+json

Request Payload: JSON

{"video_caching_config":{
"maxobjectsize": <integer_value>
}}

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.video_caching_config+json

Response Payload: JSON

{"video_caching_config":{
"maxobjectsize": <integer_value>
}}

RESET

Use this operation to reset or clear video cache

HTTP Method: POST

URL: https://<cb_ip_address>/cb/nitro/v1/config/video_caching_config?action=reset

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Content-Type: application/vnd.com.citrix.cloudbridge.video_caching_config+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.video_caching_config+json

Response Payload: JSON

{ "errorcode": 0, "message": "Done", "severity": &ltString_value>}