2.29.1 バージョン情報の取得
JP1/OAとAPIのバージョンを取得します。
権限
Admin, Modify
APIのバージョン
v1
リクエスト形式
GET http[s]://host:port/Analytics/version/configuration/version
リクエストボディー
リクエストボディーには何も設定しません。
レスポンスボディー
レスポンスボディーの構造とオブジェクトの属性を次に示します。{
"productName":"...",
"productVersion":"...",
"apiVersion":"..."
}
Version (Type: Version)
|
属性 |
データ型 |
説明 |
|---|---|---|
|
productName |
string |
製品名 |
|
productVersion |
string |
製品のバージョン情報 |
|
apiVersion |
string |
APIのバージョン情報 |
ステータスコード
|
HTTPステータスコード |
Reason phrase |
説明 |
|---|---|---|
|
200 |
OK |
正常終了 |
|
412 |
Precondition Failed |
サーバーが起動していない |
|
500 |
Internal Server Error |
サーバーサイドエラー |
使用例
[Request Header]
GET /Analytics/v1/configuration/version HTTP/1.1
Host: JP1OAServer:22015
User-Agent: curl/7.63.0
Accept: application/json
Accept-Language: ja
Authorization: Basic c3lzdGVtOm1hbmFnZXI=
[Response Header]
HTTP/1.1 200 OK
Date: Thu, 12 Sep 2019 03:03:48 GMT
Server: Cosminexus HTTP Server
Cache-Control: no-cache
WWW-Authenticate: HSSO 5c4f9254ae8572356ac219323091aae3b6b6be2a_ZAlDSFUHGHp9UB8WcRQLdA==_V0810
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Transfer-Encoding: chunked
Content-Type: application/json
[Response Body]
{
"productName" : "JP1/Operations Analytics",
"productVersion" : "12.10.00",
"apiVersion" : "01.00.00"
}