summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorAbhishek Kekane <akekane@redhat.com>2022-05-04 05:41:56 +0000
committerAbhishek Kekane <akekane@redhat.com>2022-05-06 14:07:42 +0000
commitecb040c17786fa28d521a247c556a99442e37d5f (patch)
treebece17ce3a50645301ee60d60d10a2945e90fa7d /api-ref
parent8271cde1e2850ff1870b310801e3fa8c7fbbf998 (diff)
downloadglance-ecb040c17786fa28d521a247c556a99442e37d5f.tar.gz
[APIImpact] Correct API response code for PUT /v2/cache/{image_id}
PUT /v2/cache/{image_id} returns HTTP 200 response code to user but as per proposal it should be HTTP 202. This change returns HTTP 202 response to user. Closes-Bug: #1971521 Change-Id: I6a875a38bef5beafe352ab3320f3fd199db89aa1
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/v2/cache-manage.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/api-ref/source/v2/cache-manage.inc b/api-ref/source/v2/cache-manage.inc
index 93379f434..00156ab9d 100644
--- a/api-ref/source/v2/cache-manage.inc
+++ b/api-ref/source/v2/cache-manage.inc
@@ -47,7 +47,7 @@ Queue image
Queues image for caching.
*(Since Image API v2.14)*
-Normal response codes: 200
+Normal response codes: 202
Error response codes: 400, 401, 403, 404