a34764ecac
This patch adds a new API to glance ``GET /v2/info/stores/detail`` to expose the stores specific details about the store like store type and other specific store properties.This operation will be admin only and validated by the new policy rule ``stores_info_detail`` which defaults to admin only Implements: blueprint expose-store-specific-info Change-Id: I6882fd2381e6ae245fd8c61bf9f4d52df2b216f5
46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
stores:
|
|
description: |
|
|
A list of store objects, where each store object may contain the
|
|
following fields:
|
|
|
|
``id``
|
|
Operator-defined identifier for the store.
|
|
``description``
|
|
Operator-supplied description of this store.
|
|
``default`` (optional)
|
|
Only present on the default store. This is the store where image
|
|
data is placed if you do not indicate a specific store when supplying
|
|
data to the Image Service. (See the :ref:`Image data <image-data>`
|
|
and :ref:`Interoperable image import <image-import-process>` sections
|
|
for more information.)
|
|
``read-only`` (optional)
|
|
Included only when the store is read only.
|
|
in: body
|
|
required: true
|
|
type: array
|
|
stores-detail:
|
|
description: |
|
|
A list of store objects, where each store object may contain the
|
|
following fields:
|
|
|
|
``id``
|
|
Operator-defined identifier for the store.
|
|
``type``
|
|
Specify the type of store.
|
|
``description``
|
|
Operator-supplied description of this store.
|
|
``default`` (optional)
|
|
Only present on the default store. This is the store where image
|
|
data is placed if you do not indicate a specific store when supplying
|
|
data to the Image Service. (See the :ref:`Image data <image-data>`
|
|
and :ref:`Interoperable image import <image-import-process>` sections
|
|
for more information.)
|
|
``read-only`` (optional)
|
|
Included only when the store is read only.
|
|
``properties``
|
|
Contains store specific properties
|
|
in: body
|
|
required: true
|
|
type: array
|
|
|