Merge "[placement]Enhance doc for placement allocation list"

This commit is contained in:
Zuul 2017-12-05 13:32:37 +00:00 committed by Gerrit Code Review
commit 785dd41fb1
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@ List allocations
List all allocation records for the consumer identified by
`{consumer_uuid}` on all the resource providers it is consuming.
.. note:: When listing allocations for a consumer uuid that has no
allocations a dict with an empty value is returned
``{"allocations": {}}``.
.. rest_method:: GET /allocations/{consumer_uuid}
Normal Response Codes: 200