keystone/api-ref/source/v2/identity-api-extensions.inc
Nguyen Phuong An 36d7be0e79 Fix prameters name and response codes in Keystone API v2
This patch fixes parameters name and response codes in Keystone
API v2.

Change-Id: I0b81389ee43e588c5a37d7470763d7ecf853fbd3
2016-09-13 08:54:20 +07:00

71 lines
1.2 KiB
ReStructuredText

.. -*- rst -*-
==========
Extensions
==========
Show extension details
======================
.. rest_method:: GET /v2.0/extensions/{alias}
Shows details for an extension, by alias.
Normal response codes: 200,203
Error response codes: 413,405,404,403,401,400,503
Request
-------
.. rest_parameters:: parameters.yaml
- alias: alias
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- x-openstack-request-id: x-openstack-request-id
- alias: alias
- updated: updated
- description: api_ext_description
- name: api_ext_name
Response Example
----------------
.. literalinclude:: samples/admin/extension-show-response.json
:language: javascript
List extensions
===============
.. rest_method:: GET /v2.0/extensions
Lists available extensions.
Normal response codes: 200,203
Error response codes: 413,405,404,403,401,400,503
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- x-openstack-request-id: x-openstack-request-id
- alias: alias
- updated: updated
- description: api_ext_description
- name: api_ext_name
Response Example
----------------
.. literalinclude:: samples/admin/extensions-list-response.json
:language: javascript