tacker/api-ref/source/v1/vnflcm_versions.inc
Hirofumi Noguchi f24afcf705 Add documents for multi-version API support
This patch provides Tacker documents for multi-version API support.
VNF LCM API Version 2 is added to API Reference and the page hierarchy
is changed for readability.
Also, the Show VNF LCM Versions command is added to Command-Line
Interface Reference.
Furthermore, a manual of the Userdata script is added to Tacker User
Guide.

Implements: blueprint multi-version-api
Implements: blueprint support-nfv-solv3-start-and-terminate-vnf
Implements: blueprint support-nfv-solv3-query-vnf-instances
Implements: blueprint support-nfv-solv3-query-operation-occurrences
Implements: blueprint support-nfv-solv3-subscriptions
Change-Id: I603e32090303af080b17e549a0caf7e862aa7e1e
2021-09-16 20:00:56 +09:00

98 lines
1.9 KiB
ReStructuredText

.. -*- rst -*-
==============================================================
Virtualized Network Function Lifecycle Management API Versions
==============================================================
List VNFLCM API versions
========================
.. rest_method:: GET /vnflcm/api_versions
This method retrieves the list of all supported versions for
VNF LCM API.
Response Codes
--------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
Request Example
---------------
.. literalinclude:: samples/vnflcm/create-vnf-instance-request.json
:language: javascript
Response Parameters
-------------------
.. rest_parameters:: parameters_vnflcm_versions.yaml
- uriPrefix: uriPrefix
- apiVersions: api_Versions
- \>version: version
- \>isDeprecated: isDeprecated
- \>retirementDate: retirementDate
Response Example
----------------
.. literalinclude:: samples/vnflcm_versions/list-vnflcm-version-response.json
:language: javascript
Show VNFLCM API versions
========================
.. rest_method:: GET /vnflcm/{apiMajorVersion}/api_versions
This method retrieves the list of supported versions for
VNF LCM API corresponding to the {apiMajorVersion}.
Request Parameters
------------------
.. rest_parameters:: parameters_vnflcm_versions.yaml
- apiMajorVersion: api_Major_Version
Response Codes
--------------
.. rest_status_code:: success status.yaml
- 200
.. rest_status_code:: error status.yaml
- 400
- 401
Response Parameters
-------------------
.. rest_parameters:: parameters_vnflcm_versions.yaml
- uriPrefix: uriPrefix
- apiVersions: api_Versions
- \>version: version
- \>isDeprecated: isDeprecated
- \>retirementDate: retirementDate
Response Example
----------------
.. literalinclude:: samples/vnflcm_versions/show-vnflcm-version-response.json
:language: javascript