api-site/api-ref/source/image/v1/shared-images.inc
Anne Gentle ac4cc65cb5 Adds migrated RST + YAML files from WADL
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
2016-05-02 17:42:49 -05:00

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