neutron-lib/api-ref/source/v2/versions.inc
Ha Van Tu 6a73e976b0 api-ref: Add Networking v2.0 API versions response parameters
This patch adds Networking v2.0 API Versions response parameters
http://developer.openstack.org/api-ref/networking/v2/#list-api-versions

Change-Id: Ia6d5a9bdec2ee65ae9f6632625415447619f7a8f
Partially-Implements: blueprint neutron-in-tree-api-ref
2016-09-20 09:48:02 +07:00

75 lines
1.3 KiB
ReStructuredText

.. -*- rst -*-
.. needs:example_verification
============
API versions
============
Lists information for all Networking API versions.
List API versions
=================
.. rest_method:: GET /
Lists information about all Networking API versions.
Normal response codes: 200
Request
-------
.. .. rest_parameters:: parameters.yaml
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- versions: versions
- status: version-status
- id: version-id
- links: version-links
- href: version-href
- rel: version-rel
Response Example
----------------
.. literalinclude:: samples/networks/versions-list-response.json
:language: javascript
Show API v2 details
===================
.. rest_method:: GET /v2.0/
Shows details for Networking API v2.0.
Normal response codes: 200
Error response codes: 401
Request
-------
.. .. rest_parameters:: parameters.yaml
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- resources: resources
- name: resource-name
- collection: resource-collection
- links: resource-links
- href: resource-href
- rel: resource-rel
Response Example
----------------
.. literalinclude:: samples/networks/version-show-response.json
:language: javascript