From 2d8d09f0970477b00abd1ed3ecaf9b2c091e15b0 Mon Sep 17 00:00:00 2001 From: "jeremy.zhang" Date: Tue, 13 Jun 2017 23:03:14 +0800 Subject: [PATCH] Fix response code for update and delete API in volume attachments The normal response code for update or delete API described in volume attachments api-ref is 202, but the actual response code from the curl request is 200. This patch is to fix the response codes of these two APIs in api-ref. Change-Id: I6eb43f63bb504cb64b12f55de759779058b2979d --- api-ref/source/v3/attachments.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-ref/source/v3/attachments.inc b/api-ref/source/v3/attachments.inc index 93c349067a3..7162048e7f5 100644 --- a/api-ref/source/v3/attachments.inc +++ b/api-ref/source/v3/attachments.inc @@ -14,7 +14,7 @@ Delete attachment Deletes an attachment. -Normal response codes: 202 +Normal response codes: 200 Error response codes: badRequest(400), itemNotFound(404) @@ -214,7 +214,7 @@ Update an attachment Update a reserved attachment record with connector information and set up the appropriate connection_info from the driver. -Normal response codes: 202 +Normal response codes: 200 Error response codes: badRequest(400), itemNotFound(404) Request