Modifies API spec to use uuid for Role endpoints

Changes adding/removing Role to use role_uuid instead of name/version
pair

Change-Id: Ic97cde0c59aea641c88a3bb708e698a504544db0
This commit is contained in:
Petr Blaho 2014-08-13 15:05:56 +02:00
parent 0972937cc5
commit 806672a4b3

View File

@ -373,15 +373,14 @@ Notes:
Request Data:
JSON document containing the name and version of the role to add.
JSON document containing the uuid of the role to add.
Request Example:
.. code-block:: json
{
"name" : "compute",
"version" : "2"
"uuid" : "role_uuid"
}
Response Codes:
@ -403,11 +402,11 @@ configuration parameters will be present in the result.
**Removing a Role from a Plan**
URL: ``/plans/<plan-uuid>/roles/<role-name>/<role-version>/``
URL: ``/plans/<plan-uuid>/roles/<role-uuid>/``
Method: ``DELETE``
Description: Removes a role from the given plan.
Description: Removes a role identified by role_uuid from the given plan.
Notes: