ネットワーク一覧取得
Description
ネットワーク一覧を取得します。
Request URL
Network API v2.0 GET /v2.0/network
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
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/networks
-
Response
HTTP/1.1 200 OK
Date: Fri, 09 Dec 2016 08:48:18 GMT
Server: Apache
Content-Length: 3211
Content-Type: application/json
{ "networks": [ { "admin_state_up": true, "id": "ネットワークID", "name": "ネットワーク名", "router:external": false, "shared": false, "status": "ACTIVE", "subnets": [ "サブネットID" ], "tenant_id": "テナントID" }, { "admin_state_up": true, "id": "ネットワークID", "name": "ネットワーク名", "router:external": false, "shared": true, "status": "ACTIVE", "subnets": [], "tenant_id": "テナントID" },