Cisco Cisco Videoscape Voyager Vantage 3.2 User Guide

Page of 204
22
REST APIs
 
Private REST API
Note:
 Other errors not listed above may be generated by libevhtp; for example, 500: Internal Server Error.
Private REST API
The Private REST API allows Vantage JavaScript software modules to push log messages to the Async Diagnostics 
Process using HTTP PUT. The Private REST API uses TCP port 10080.
General Syntax
HTTP PUT {url} {parameter 1 & . . . parameter n}
Where url is a supported URL, and may be followed by one or more optional parameters concatenated by the ampersand 
(&) character. The supported URLs and optional parameters are described below.
Supported URLs
Optional Parameters
Each URL supports one or more of the following optional parameters.
Table 3
URLs for Private REST API
URL
Supported Parameters
Description
/diagnostics/logs
name, section, level
Used to PUT error message text. The 
error text is the body (HTTP payload), 
while metadata is communicated 
using REST parameters.