Skip to content

Commit

Permalink
Add microversion info in the os-server-groups API samples
Browse files Browse the repository at this point in the history
The os-server-groups samples are using 2.64 but don't explicitly say
that, so we need something like "(v2.64)" in the os-server-groups.inc.

In this patch, we add microversion info in the os-server-groups API
samples.

Change-Id: Ia7e25ceba532e6cfd0ed18cf3cc8113512d50323
Closes-bug: #1785415
  • Loading branch information
Yikun authored and mriedem committed Aug 7, 2018
1 parent 536acbf commit 00b585a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api-ref/source/os-server-groups.inc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Response
- policy: policy_name
- rules: policy_rules

**Example List Server Groups: JSON response**
**Example List Server Groups (2.64): JSON response**

.. literalinclude:: ../../doc/api_samples/os-server-groups/v2.64/server-groups-list-resp.json
:language: javascript
Expand All @@ -71,7 +71,7 @@ Request
- policy: policy_name
- rules: policy_rules_optional

**Example Create Server Group: JSON request**
**Example Create Server Group (2.64): JSON request**

.. literalinclude:: ../../doc/api_samples/os-server-groups/v2.64/server-groups-post-req.json
:language: javascript
Expand All @@ -92,7 +92,7 @@ Response
- policy: policy_name
- rules: policy_rules

**Example Create Server Group: JSON response**
**Example Create Server Group (2.64): JSON response**

.. literalinclude:: ../../doc/api_samples/os-server-groups/v2.64/server-groups-post-resp.json
:language: javascript
Expand Down Expand Up @@ -131,7 +131,7 @@ Response
- policy: policy_name
- rules: policy_rules

**Example Show Server Group Details: JSON response**
**Example Show Server Group Details (2.64): JSON response**

.. literalinclude:: ../../doc/api_samples/os-server-groups/v2.64/server-groups-get-resp.json
:language: javascript
Expand Down

0 comments on commit 00b585a

Please sign in to comment.