diff options
author | Sean Dague <sean@dague.net> | 2016-06-02 08:50:03 -0400 |
---|---|---|
committer | Sean Dague <sean@dague.net> | 2016-06-03 08:47:33 -0400 |
commit | c9f5ad3bcf06d22661fd73dc8f98bf752784abff (patch) | |
tree | 12886a94ebe3ed56663740e1683f8551459722a9 /api-ref/source/servers-action-fixed-ip.inc | |
parent | cfd64c976b8aaacaf09fd2a6303877674fcfada0 (diff) | |
download | nova-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/servers-action-fixed-ip.inc')
-rw-r--r-- | api-ref/source/servers-action-fixed-ip.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/api-ref/source/servers-action-fixed-ip.inc b/api-ref/source/servers-action-fixed-ip.inc index 418ff1ddd4..fbf670950f 100644 --- a/api-ref/source/servers-action-fixed-ip.inc +++ b/api-ref/source/servers-action-fixed-ip.inc @@ -6,7 +6,7 @@ Add (Associate) Fixed Ip (Addfixedip Action) ============================================ -.. rest_method:: POST /v2.1/{tenant_id}/servers/{server_id}/action +.. rest_method:: POST /servers/{server_id}/action Adds a fixed IP address to a server instance, which associates that address with the server. The fixed IP address is retrieved from the @@ -27,7 +27,7 @@ Request .. rest_parameters:: parameters.yaml - - tenant_id: tenant_id + - server_id: server_id - addFixedIp: addFixedIp @@ -42,7 +42,7 @@ Response Remove (Disassociate) Fixed Ip (Removefixedip Action) ===================================================== -.. rest_method:: POST /v2.1/{tenant_id}/servers/{server_id}/action +.. rest_method:: POST /servers/{server_id}/action Removes, or disassociates, a fixed IP address from a server. @@ -61,7 +61,7 @@ Request .. rest_parameters:: parameters.yaml - - tenant_id: tenant_id + - server_id: server_id - removeFixedIp: removeFixedIp |