Skip to content

Commit

Permalink
[placement] api-ref: Add missing aggregates example
Browse files Browse the repository at this point in the history
About "PUT /resource_providers/{uuid}/aggregates"
in the Placement API reference,
the example of the response body in microversion 1.1 - 1.18 is missing.
So add it.

Change-Id: Ic3dc665124ae7927cfa20cf70a08c39b856b8961
Closes-Bug: #1786759
  • Loading branch information
natsumetakashi committed Aug 13, 2018
1 parent 16f89fd commit c0639b5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions placement-api-ref/source/aggregates.inc
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,20 @@ Request example (microversion 1.19 - )
.. literalinclude:: ./samples/aggregates/update-aggregates-request-1.19.json
:language: javascript
Response (microversion 1.19 - )
----------------------------------
Response (microversion 1.1 - )
------------------------------
.. rest_parameters:: parameters.yaml
- aggregates: aggregates
- resource_provider_generation: resource_provider_generation_v1_19
Response Example (microversion 1.1 - 1.18)
------------------------------------------
.. literalinclude:: ./samples/aggregates/update-aggregates.json
:language: javascript
Response Example (microversion 1.19 - )
------------------------------------------
Expand Down

0 comments on commit c0639b5

Please sign in to comment.