バージョン情報詳細取得(Network)
Description
ネットワークのバージョン情報詳細を取得します。
Request
Request URL
Network API v2.0 GET /v2.0
Request Json
This operation does not accept a request body.
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークン発行 にて払い出されたID |
Response
-
Normal response codes
200
Error response codes
Example
-
Request
curl -i -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Auth-Token: トークンID" \
https://networking.jpt1.cloud.z.com/v2.0
-
Response
HTTP/1.1 200 OK
Date: Fri, 09 Dec 2016 09:59:56 GMT
Server: Apache
Content-Length: 274
Content-Type: application/json
{ "version": { "id": "v2.0", "links": [ { "href": "https://networking.jpt1.cloud.z.com/v2.0/", "rel": "self" }, { "href": "https://cloud.z.com/", "rel": "describedby", "type": "text/html" } ], "media-types": [ { "base": "application/json" }, { "base": "application/xml" } ], "status": "CURRENT" } },