From 59aa40c571068ceff011fd4012267a95f1969cfc Mon Sep 17 00:00:00 2001 From: Nam Nguyen Hoai Date: Fri, 20 Jan 2017 14:53:34 +0700 Subject: [PATCH] API: Updating error response codes Follow source code: https://github.com/openstack/sahara/blob/master/sahara/utils/api.py#L187-L229 It should be updated status code for response request. Change-Id: I8ee936ba033c28342b59ee5af6dd3e565ae38f22 --- api-ref/source/plugins.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api-ref/source/plugins.inc b/api-ref/source/plugins.inc index 959fd8d2..5fd1921f 100644 --- a/api-ref/source/plugins.inc +++ b/api-ref/source/plugins.inc @@ -17,7 +17,7 @@ Shows details for a plugin. Normal response codes: 200 -Error response codes: +Error response codes: 400, 500 Request @@ -59,7 +59,7 @@ Lists all registered plugins. Normal response codes: 200 -Error response codes: +Error response codes: 400, 500 Request @@ -102,7 +102,7 @@ Shows details for a plugin version. Normal response codes: 200 -Error response codes: +Error response codes: 400, 500 Request @@ -144,8 +144,8 @@ Update plugin details Updates details for a plugin. -Normal response codes:202 -Error response codes: +Normal response codes: 202 +Error response codes: 400, 500 Request