Merge "Api-ref: Add missing parameter in the version api"

This commit is contained in:
Zuul 2018-07-17 19:09:25 +00:00 committed by Gerrit Code Review
commit c204daa5ee
2 changed files with 17 additions and 2 deletions

View File

@ -3736,6 +3736,12 @@ version_max:
If this version of the API supports microversions, the maximum
microversion that is supported. This will be the empty string if
microversions are not supported.
version_media_types:
description: |
Media types supported by the API.
in: body
required: true
type: object
version_min:
type: string
in: body
@ -3754,6 +3760,13 @@ version_status:
- ``CURRENT``: this is the preferred version of the API to use
- ``SUPPORTED``: this is an older, but still supported version of the API
- ``DEPRECATED``: a deprecated version of the API that is slated for removal
version_updated:
description: |
A date and time stamp for API versions. This field presents no meaningful
information.
in: body
required: true
type: string
versions:
type: array
in: body

View File

@ -51,9 +51,10 @@ Response
- versions: versions
- id: version_id
- updated: version_updated
- status: version_status
- links: links
- media-types: media_types
- media-types: version_media_types
- version: version_max
- min_version: version_min
@ -108,8 +109,9 @@ Response
- status: version_status
- links: links
- version: version_max
- updated: version_updated
- min_version: version_min
- media-types: media_types
- media-types: version_media_types
.. note::