Merge "[api-ref] Rewrite the Heat API version"

This commit is contained in:
Jenkins 2016-09-07 11:55:41 +00:00 committed by Gerrit Code Review
commit 21e49dc9b5
2 changed files with 21 additions and 1 deletions

View File

@ -1591,6 +1591,23 @@ updated_time:
in: body in: body
required: true required: true
type: string type: string
version_id:
type: string
in: body
required: true
description: >
A common name for the version in question. Informative only, it
has no real semantic meaning.
version_status:
type: string
in: body
required: true
description: |
The status of this API version. This can be one of:
- ``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
versions: versions:
description: | description: |
A list of all orchestration API versions. Each object in the list provides A list of all orchestration API versions. Each object in the list provides

View File

@ -23,13 +23,16 @@ Request Parameters
This operation does not accept a request body. This operation does not accept a request body.
Request Parameters Response Parameters
------------------ ------------------
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- X-Openstack-Request-Id: request_id - X-Openstack-Request-Id: request_id
- versions: versions - versions: versions
- id: version_id
- status: version_status
- links: links
Response Example Response Example
---------------- ----------------