summaryrefslogtreecommitdiff
path: root/api-ref/source/os-floating-ips-bulk.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-floating-ips-bulk.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-floating-ips-bulk.inc')
-rw-r--r--api-ref/source/os-floating-ips-bulk.inc19
1 files changed, 4 insertions, 15 deletions
diff --git a/api-ref/source/os-floating-ips-bulk.inc b/api-ref/source/os-floating-ips-bulk.inc
index 1e4c6baf98..605200bf41 100644
--- a/api-ref/source/os-floating-ips-bulk.inc
+++ b/api-ref/source/os-floating-ips-bulk.inc
@@ -15,7 +15,7 @@ To view available pools, use the ``os-floating-ip-pools`` extension.
List Floating Ips
=================
-.. rest_method:: GET /v2.1/{tenant_id}/os-floating-ips-bulk
+.. rest_method:: GET /os-floating-ips-bulk
Lists all floating IPs.
@@ -23,13 +23,6 @@ Normal response codes: 200
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404)
-Request
--------
-
-.. rest_parameters:: parameters.yaml
-
- - tenant_id: tenant_id
-
Response
--------
@@ -41,7 +34,7 @@ Response
Create Floating Ips
===================
-.. rest_method:: POST /v2.1/{tenant_id}/os-floating-ips-bulk
+.. rest_method:: POST /os-floating-ips-bulk
Bulk-creates floating IPs.
@@ -54,7 +47,6 @@ Request
.. rest_parameters:: parameters.yaml
- - tenant_id: tenant_id
- ip_range: ip_range
**Example Create Floating Ips: JSON request**
@@ -73,7 +65,7 @@ Response
Bulk-Delete Floating Ips
========================
-.. rest_method:: PUT /v2.1/{tenant_id}/os-floating-ips-bulk/delete
+.. rest_method:: PUT /os-floating-ips-bulk/delete
Bulk-deletes floating IPs.
@@ -86,7 +78,6 @@ Request
.. rest_parameters:: parameters.yaml
- - tenant_id: tenant_id
- ip_range: ip_range
**Example Bulk-Delete Floating Ips: JSON request**
@@ -105,7 +96,7 @@ Response
List Floating Ips By Host
=========================
-.. rest_method:: GET /v2.1/{tenant_id}/os-floating-ips-bulk/{host_name}
+.. rest_method:: GET /os-floating-ips-bulk/{host_name}
Lists all floating IPs for a host.
@@ -118,7 +109,6 @@ Request
.. rest_parameters:: parameters.yaml
- - tenant_id: tenant_id
- host_name: host_name
Response
@@ -128,4 +118,3 @@ Response
.. literalinclude:: ../../doc/api_samples/os-floating-ips-bulk/floating-ips-bulk-list-by-host-resp.json
:language: javascript
-