diff --git a/api-quick-start/src/docbkx/api-quick-start-intro.xml b/api-quick-start/src/docbkx/api-quick-start-intro.xml index e38c476f1..40489ee2c 100644 --- a/api-quick-start/src/docbkx/api-quick-start-intro.xml +++ b/api-quick-start/src/docbkx/api-quick-start-intro.xml @@ -151,17 +151,22 @@ xlink:href="http://developer.openstack.org/api-ref-compute-v2.html" >Compute APIs and Extensions. Use the Compute API to list flavors, as follows: - $ curl -i -H - "X-Auth-Token:token" - http://8.21.28.222:8774/v2/tenant_id/flavors + $ curl -s -H \ + "X-Auth-Token:token" \ + http://8.21.28.222:8774/v2/tenant_id/flavors \ + | python -m json.tool Use the Compute API to list images, as follows: - $ curl -i -H - "X-Auth-Token:token" - http://8.21.28.222:8774/v2/tenant_id/images + $ curl -s -H \ + "X-Auth-Token:token" \ + http://8.21.28.222:8774/v2/tenant_id/images \ + | python -m json.tool Use the Compute API to list servers, as follows: - $ curl -i -H "X-Auth-Token:token" http://8.21.28.222:8774/v2/tenant_id/servers + $ curl -s -H \ + "X-Auth-Token:token" \ + http://8.21.28.222:8774/v2/tenant_id/servers \ + | python -m json.tool diff --git a/api-quick-start/src/docbkx/get_credentials_resp.json b/api-quick-start/src/docbkx/get_credentials_resp.json index 364cade54..cefa5502c 100644 --- a/api-quick-start/src/docbkx/get_credentials_resp.json +++ b/api-quick-start/src/docbkx/get_credentials_resp.json @@ -77,20 +77,6 @@ "name": "glance", "type": "image" }, - { - "endpoints": [ - { - "adminURL": "http://10.100.0.222:8774/v3", - "id": "14187733d29845e5993d9b4e0f2df4fc", - "internalURL": "http://10.100.0.222:8774/v3", - "publicURL": "http://8.21.28.222:8774/v3", - "region": "RegionOne" - } - ], - "endpoints_links": [], - "name": "novav3", - "type": "computev3" - }, { "endpoints": [ {