Cisco Cisco MediaSense Release 9.0(1) Developer's Guide

Page of 136
Use these APIs to obtain the Cisco MediaSense API version information. You do not need to sign in to use this API. The getAPIVersion API
 Cisco MediaSense 
returns a floating point version number for the APIs running in
deployments.
Add a New API
getAPIVersion
getAPIVersion
Description:
Use this API to retrieve the current version of the APIs running on the system.The version number starts at 1.0 and is
not tied to the product version. The version number is x.y and not x.y.z (for example, it is 1.0 and not 1.0.1).
API URI:
http://<
>:<
>/ora/infoService/info/getAPIVersion
host
port
Supported
Response
Formats:
JSON
HTTP Method:
GET
Request
Parameters:
None.
Header
Parameters:
None.
Parameter
Description:
Go to the 
Successful JSON
Response
Schema:
{
    
,
"responseMessage"
"Success: Your request was successfully completed."
    
: 2000,
"responseCode"
    
: {
"responseBody"
        
"apiVersion"
"<
 is string>"
this
    }
}
Failure JSON
Response
Schema:
{
    
: <
 is an integer>,
"responseCode"
this
    
,
"responseMessage"
"Failure: <
 is a string>"
this
    
"detail"
"<
 is a string>"
this
}
Related Error
Codes:
Go to the 
Events Triggered:
None.
 
Availability:
Available since API Version 1.0 
Release:
8.5(1)
Notes and
Examples:
 
123