From dbeb7793c4ea4d3199c0f10b7e1fe5e54ec2fa79 Mon Sep 17 00:00:00 2001 From: ericxiett Date: Sat, 1 Jan 2022 09:07:00 +0000 Subject: [PATCH] Add missing error codes for deployables APIs Closes-Bug: #1956134 Change-Id: I5108d44a9e04e75604d6f65d704b57fa7109d595 --- api-ref/source/deployables.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-ref/source/deployables.inc b/api-ref/source/deployables.inc index 9525c07b..bb9ee7d2 100644 --- a/api-ref/source/deployables.inc +++ b/api-ref/source/deployables.inc @@ -18,7 +18,7 @@ Lists UUIDs, names, attribute list and more informations for all deployables. Normal response codes: 200 -Error response codes: unauthorized(401), forbidden(403) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), internalServerError(500) Request ======= @@ -59,7 +59,7 @@ Gets the UUID, name, attribute list and more informations for one deployable wit Normal response codes: 200 -Error response codes: badRequest(400), unauthorized(401), forbidden(403) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), notfound(404) Request =======