Fix os-server-groups.inc
some json reponse/request reference not correct fix incorrect return value. Also, change id reference to server_group_id. Part of bp:api-ref-in-rst Change-Id: Ia1fc10301dfa35087658d311bec684d43c8e0929
This commit is contained in:
@@ -40,7 +40,7 @@ Response
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- server_groups: server_groups
|
||||
- id: id
|
||||
- id: server_group_id
|
||||
- name: name
|
||||
- policies: policies
|
||||
- members: members
|
||||
@@ -76,7 +76,7 @@ Request
|
||||
|
||||
**Example Create Server Group: JSON request**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-server-groups/server-group-create-req.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-server-groups/server-groups-post-req.json
|
||||
:language: javascript
|
||||
|
||||
Response
|
||||
@@ -85,7 +85,7 @@ Response
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- server_groups: server_groups
|
||||
- id: id
|
||||
- id: server_group_id
|
||||
- name: name
|
||||
- policies: policies
|
||||
- members: members
|
||||
@@ -95,7 +95,7 @@ Response
|
||||
|
||||
**Example Create Server Group: JSON response**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-server-groups/server-group-create-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-server-groups/server-groups-post-resp.json
|
||||
:language: javascript
|
||||
|
||||
Show Server Group Details
|
||||
@@ -124,7 +124,7 @@ Response
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- server_groups: server_groups
|
||||
- id: id
|
||||
- id: server_group_id
|
||||
- name: name
|
||||
- policies: policies
|
||||
- members: members
|
||||
@@ -134,7 +134,7 @@ Response
|
||||
|
||||
**Example Show Server Group Details: JSON response**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-server-groups/server-group-show-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-server-groups/server-groups-get-resp.json
|
||||
:language: javascript
|
||||
|
||||
Delete Server Group
|
||||
|
||||
@@ -1083,12 +1083,6 @@ id_6:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
id_7:
|
||||
description: |
|
||||
The UUID of the server group.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
virtual_interface_id:
|
||||
description: |
|
||||
The UUID of the virtual interface.
|
||||
|
||||
Reference in New Issue
Block a user