From 287ffeaa3268a034d99c5508259e022a0c92e499 Mon Sep 17 00:00:00 2001 From: Henry Nash Date: Fri, 22 Aug 2014 19:23:20 +0100 Subject: [PATCH] Change location of OS-ENDPOINT-POLICY name in API urls. The current APIs simply put OS-ENDPOINT-POLICY at the start of the API url. Technically, this should appear in the url at the location where this differs from the standard core urls. Partially implements: bp endpoint-policy Change-Id: I2c49d46e2374aed2411849bd2fd1adf42beaa2c6 --- .../identity-api-v3-os-endpoint-policy.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/v3/src/markdown/identity-api-v3-os-endpoint-policy.md b/v3/src/markdown/identity-api-v3-os-endpoint-policy.md index cbb829d4..b44137a9 100644 --- a/v3/src/markdown/identity-api-v3-os-endpoint-policy.md +++ b/v3/src/markdown/identity-api-v3-os-endpoint-policy.md @@ -21,7 +21,7 @@ order. No combination of polices will occur. ### Policy-Endpoint Associations -#### Create association with endpoint: `PUT /OS-ENDPOINT-POLICY/policies/{policy_id}/endpoints/{endpoint_id}` +#### Create association with endpoint: `PUT /policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints/{endpoint_id}` Creates an association between the policy and the endpoint. If another association already existed for the specified endpoint, this will replace that @@ -31,7 +31,7 @@ Response: Status: 204 No Content -#### Check association with endpoint: `GET /OS-ENDPOINT-POLICY/policies/{policy_id}/endpoints/{endpoint_id}` +#### Check association with endpoint: `GET /policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints/{endpoint_id}` Verifies the existence of an association between a policy and an endpoint. A HEAD version of this API is also supported. @@ -40,7 +40,7 @@ Response: Status: 204 No Content -#### Delete association with endpoint: `DELETE /OS-ENDPOINT-POLICY/policies/{policy_id}/endpoints/{endpoint_id}` +#### Delete association with endpoint: `DELETE /policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints/{endpoint_id}` Deletes an association between the policy and the endpoint. @@ -48,7 +48,7 @@ Response: Status: 204 No Content -#### Create association with service: `PUT /OS-ENDPOINT-POLICY/policies/{policy_id}/services/{service_id}` +#### Create association with service: `PUT /policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}` Creates an association between the policy and the service. If another association already existed for the specified service, this will replace that @@ -58,7 +58,7 @@ Response: Status: 204 No Content -#### Check association with service: `GET /OS-ENDPOINT-POLICY/policies/{policy_id}/services/{service_id}` +#### Check association with service: `GET /policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}` Verifies the existence of an association between a policy and a service. A HEAD version of this API is also supported. @@ -67,7 +67,7 @@ Response: Status: 204 No Content -#### Delete association with service: `DELETE /OS-ENDPOINT-POLICY/policies/{policy_id}/services/{service_id}` +#### Delete association with service: `DELETE /policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}` Deletes an association between the policy and the service. @@ -75,7 +75,7 @@ Response: Status: 204 No Content -#### Create association with service in a region: `PUT /OS-ENDPOINT-POLICY/policies/{policy_id}/services/{service_id}/regions/{region_id}` +#### Create association with service in a region: `PUT /policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}/regions/{region_id}` Creates an association between the policy and the service in the given region. If another association already existed for the specified service and region, @@ -86,7 +86,7 @@ Response: Status: 204 No Content -#### Check association with service in a region: `GET /OS-ENDPOINT-POLICY/policies/{policy_id}/services/{service_id}/regions/{region_id}` +#### Check association with service in a region: `GET /policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}/regions/{region_id}` Verifies the existence of an association between a policy and a service in the given region. A HEAD version of this API is also supported. @@ -95,7 +95,7 @@ Response: Status: 204 No Content -#### Delete association with service in a region: `DELETE /OS-ENDPOINT-POLICY/policies/{policy_id}/services/{service_id}/regions/{region_id}` +#### Delete association with service in a region: `DELETE /policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}/regions/{region_id}` Deletes an association between the policy and the service in the given region. @@ -103,7 +103,7 @@ Response: Status: 204 No Content -#### List effective endpoint associations for policy: `GET /OS-ENDPOINT-POLICY/policies/{policy_id}/endpoints` +#### List effective endpoint associations for policy: `GET /policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints` Returns all the endpoints that are currently associated with a specific policy via any of the association methods. @@ -142,7 +142,7 @@ Response: } } -#### Get effective policy associated with endpoint: `GET /OS-ENDPOINT-POLICY/endpoints/{endpoint_id}/policy` +#### Get effective policy associated with endpoint: `GET /endpoints/{endpoint_id}/OS-ENDPOINT-POLICY/policy` Returns the policy that is currently associated with the given endpoint, by working through the ordered sequence of methods of association. The first