Hitachi

JP1 Version 11 JP1/Operations Analytics REST API Reference Guide


2.18.1 Obtaining Version Information

The API acquires the JP1/OA and API version.

Execution permission

Admin, Modify

API version

v1

Request format

GET http[s]://host:port/Analytics/version/configuration/version

Request body

Not applicable.

Response body

The structure of the response body and the object attributes are as follows:

Version

{
        "productName":"...",
        "productVersion":"...",
        "apiVersion":"..."
}

Version (Type: Version)

Attribute

Type

Description

productName

string

product name

productVersion

string

product version

apiVersion

string

api version

Status codes

Status code

Reason phrase

Description

200

OK

Success.

412

Precondition Failed

The server is not available.

500

Internal Server Error

Server processing error.

Example code

[Request Header]
GET /Analytics/v1/configuration/version HTTP/1.1
Authorization: Basic c3lzdGVtOm1hbmFnZXI=
User-Agent: curl/7.33.0
Host: localhost:22015
Accept: application/json
Accept-Language: ja

[Response Header]
HTTP/1.1 200 OK
Date: Mon, 30 Nov 2015 09:11:45 GMT
289
Server: Cosminexus HTTP Server
Cache-Control: no-cache
WWW-Authenticate: HSSO 184593e47ca3e5ff4e150cc8dc32f4f756218e_WVlGcHsLfg5ffg0I_V0810
X-Frame-Options: SAMEORIGIN
Transfer-Encoding: chunked
Content-Type: application/json

[Response Body]
{
"productName" : "JP1/Operations Analytics",
"productVersion" : "11.00.01",
"apiVersion" : "01.00.00"
}