summaryrefslogtreecommitdiff
path: root/api-ref/source/os-fping.inc
diff options
context:
space:
mode:
authorSean Dague <sean@dague.net>2016-06-02 08:50:03 -0400
committerSean Dague <sean@dague.net>2016-06-03 08:47:33 -0400
commitc9f5ad3bcf06d22661fd73dc8f98bf752784abff (patch)
tree12886a94ebe3ed56663740e1683f8551459722a9 /api-ref/source/os-fping.inc
parentcfd64c976b8aaacaf09fd2a6303877674fcfada0 (diff)
downloadnova-c9f5ad3bcf06d22661fd73dc8f98bf752784abff.tar.gz
remove /v2.1/{tenant_id} from all urls
As discussed at summit, the version part of the URL is not really relevant, or a thing a user should be filling out themselves, this should instead be set by the service catalog and extracted from the token. This removes it's reference in all documented REST urls, and adds a new section describing how one gets the base URL for all calls. Change-Id: I4306b8c3de0225e54f3909dd8a1fb293c4e5944c
Diffstat (limited to 'api-ref/source/os-fping.inc')
-rw-r--r--api-ref/source/os-fping.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/api-ref/source/os-fping.inc b/api-ref/source/os-fping.inc
index 2fbd761753..21c53917a3 100644
--- a/api-ref/source/os-fping.inc
+++ b/api-ref/source/os-fping.inc
@@ -9,7 +9,7 @@ Pings instances and reports which instances are alive.
Ping Instances
==============
-.. rest_method:: GET /v2.1/{tenant_id}/os-fping
+.. rest_method:: GET /os-fping
Runs the fping utility to ping instances and reports which instances are alive.
@@ -38,7 +38,7 @@ Request
.. rest_parameters:: parameters.yaml
- - tenant_id: tenant_id
+
- all_tenants: all_tenants
- include: include
- exclude: exclude
@@ -63,7 +63,7 @@ Response
Ping An Instance
================
-.. rest_method:: GET /v2.1/{tenant_id}/os-fping/{instance_id}
+.. rest_method:: GET /os-fping/{instance_id}
Runs the fping utility to ping an instance and reports whether the instance is alive.
@@ -81,7 +81,7 @@ Request
.. rest_parameters:: parameters.yaml
- - tenant_id: tenant_id
+
- instance_id: instance_id
Response