You can obtain the detailed version information of the API that accesses RAID Agent.
HTTP request syntax (URI)
GET <scheme>://<host>:<port>/<application>/<version>/configuration/Version
Request structure
Not applicable.
Response structure
The configuration of the response body is as follows:
{ "productName":"<product-name>", "productVersion":"<product-version>", "apiVersion":"<api-version>", "description":"<explanation-of-the-API-version>" }
The following table describes the format of the data included in the response body.
Variable name |
Type |
Description |
---|---|---|
productName |
string |
The product name of Ops Center Analyzer. |
productVersion |
string |
The product version of Ops Center Analyzer. |
apiVersion |
string |
The version of the API that accesses the RAID Agent. |
description |
string |
Description of the version of the API that accesses the RAID Agent. |
Example (obtaining the detailed version information of the API)
Request message by using the curl command
curl -v -H "Content-Type: application/json" -u system:manager -X GET https://server_1:22016/Analytics/RAIDAgent/v1/configuration/Version
Execution result for the request:
Request header
GET /Analytics/RAIDAgent/v1/configuration/Version HTTP/1.1 Authorization: Basic c3lzdGVtOm1hbmFnZXI= User-Agent: curl/7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.9.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2 Host:server_1:22016 Accept: */* Content-Type: application/json
Response header
HTTP/1.1 200 OK Date: Thu, 19 Jun 2014 04:51:52 GMT Server: Cosminexus HTTP Server Last-Modified: Thu, 29 May 2014 16:22:18 GMT Cache-Control: private, max-age=86400 Transfer-Encoding: chunked Content-Type: application/json;charset=utf-8
Response body
{
"productName": "Hitachi Ops Center Analyzer",
"productVersion": "10.00.00",
"apiVersion": "1.0",
"description": "The initial version for supporting RAID Agent API"
}