
Change I2423030bd0849c051d22f63bf60b6a5f41f72574 migrated Federation api-ref docs into keystone repository. Moving Mapping API to its own file is one of the TODO comments left there, which is being addressed in this change. Change-Id: I070f2807dc683d470ef4e5e6d758c3998009b2be
77 lines
1.4 KiB
ReStructuredText
77 lines
1.4 KiB
ReStructuredText
.. -*- rst -*-
|
|
|
|
Create a mapping
|
|
================
|
|
|
|
.. rest_method:: PUT /v3/OS-FEDERATION/mappings/{mapping_id}
|
|
|
|
Normal response codes: 201
|
|
|
|
Request Example
|
|
---------------
|
|
|
|
.. literalinclude:: federation/mapping/samples/create-request.json
|
|
:language: javascript
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: federation/mapping/samples/create-response.json
|
|
:language: javascript
|
|
|
|
|
|
Get a mapping
|
|
=============
|
|
|
|
.. rest_method:: GET /v3/OS-FEDERATION/mappings/{mapping_id}
|
|
|
|
Normal response codes: 200
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: federation/mapping/samples/get-response.json
|
|
:language: javascript
|
|
|
|
|
|
Update a mapping
|
|
================
|
|
|
|
.. rest_method:: PATCH /v3/OS-FEDERATION/mappings/{mapping_id}
|
|
|
|
Normal response codes: 200
|
|
|
|
Request Example
|
|
---------------
|
|
|
|
.. literalinclude:: federation/mapping/samples/update-request.json
|
|
:language: javascript
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: federation/mapping/samples/update-response.json
|
|
:language: javascript
|
|
|
|
|
|
List all mappings
|
|
=================
|
|
|
|
.. rest_method:: GET /v3/OS-FEDERATION/mappings
|
|
|
|
Normal response codes: 200
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: federation/mapping/samples/list-response.json
|
|
:language: javascript
|
|
|
|
|
|
Delete a mapping
|
|
================
|
|
|
|
.. rest_method:: DELETE /v3/OS-FEDERATION/mappings/{mapping_id}
|
|
|
|
Normal response codes: 204
|