
Contains .inc files which have all the contents of the .rst files but are grouped together for easier editing. Contains parameters.yaml, which has all parameters in one file. Contains request and response samples (JSON and XML) that are pointed to from the .inc files. Change-Id: I42d5451300f95774a3ec4df66bc95cb36795844d
47 lines
595 B
ReStructuredText
47 lines
595 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
=============
|
|
Shared images
|
|
=============
|
|
|
|
|
|
|
|
|
|
List shared images
|
|
==================
|
|
|
|
.. rest_method:: GET /v1/shared-images/{owner_id}
|
|
|
|
Lists the VM images that an owner shares. The owner ID is the tenant ID.
|
|
|
|
|
|
Normal response codes: 200
|
|
Error response codes:
|
|
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- owner_id: owner_id
|
|
|
|
|
|
Response Parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- can_share: can_share
|
|
|
|
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: ../samples/shared-images-list-response.json
|
|
:language: javascript
|
|
|
|
|
|
|