From 3b0f95ec771ca8eda1e50b37fde20c7cd2e31fb6 Mon Sep 17 00:00:00 2001 From: Sujitha <sujitha.neti@intel.com> Date: Wed, 11 May 2016 18:17:39 +0000 Subject: [PATCH] Method verification of os-floating-ips-bulk.inc Corrects the error status responses for os-floating-ips-bulk Part of bp:api-ref-in-rst Change-Id: Id677c111e0504f38b4ccc675be5552d1c02e2da6 --- api-ref/source/os-floating-ips-bulk.inc | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/api-ref/source/os-floating-ips-bulk.inc b/api-ref/source/os-floating-ips-bulk.inc index afe363a999ec..1e4c6baf9807 100644 --- a/api-ref/source/os-floating-ips-bulk.inc +++ b/api-ref/source/os-floating-ips-bulk.inc @@ -1,5 +1,4 @@ .. -*- rst -*- -.. needs:method_verification .. needs:parameter_verification .. needs:example_verification .. needs:body_verification @@ -22,8 +21,7 @@ Lists all floating IPs. Normal response codes: 200 -Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400), -unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404) Request ------- @@ -49,8 +47,7 @@ Bulk-creates floating IPs. Normal response codes: 200 -Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400), -unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409) Request ------- @@ -76,14 +73,13 @@ Response Bulk-Delete Floating Ips ======================== -.. rest_method:: POST /v2.1/{tenant_id}/os-floating-ips-bulk/delete +.. rest_method:: PUT /v2.1/{tenant_id}/os-floating-ips-bulk/delete Bulk-deletes floating IPs. Normal response codes: 200 -Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400), -unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404) Request ------- @@ -115,8 +111,7 @@ Lists all floating IPs for a host. Normal response codes: 200 -Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400), -unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404) Request -------