keystone/api-ref/source/v2/identity-api-extensions.inc
Lance Bragstad 6ac478c529 Correct normal response codes for v2.0 extensions
20X http status codes don't represent errors.

Change-Id: I86e44c535c35a843191b89f7b368171b69a53202
2016-07-14 20:46:28 +00:00

69 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: description
- name: 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: description
- name: name
Response Example
----------------
.. literalinclude:: samples/admin/extensions-list-response.json
:language: javascript