[v8.5.x] API: Fix snapshot responses (#53301)

* API: Fix snapshot responses (#52998)

* API: Fix response status when snapshots are not found

* API: Fix response status when snapshot key is empty

* Apply suggestions from code review

(cherry picked from commit 5fec6cc4f5)
This commit is contained in:
Sofia Papagiannaki
2022-08-04 19:21:39 +03:00
committed by GitHub
parent 6c8768020e
commit dc52320fc9
5 changed files with 90 additions and 4 deletions
+1
View File
@@ -30,6 +30,7 @@ import (
//
// Responses:
// 200: snapshotResponse
// 400: badRequestError
// 404: notFoundError
// 500: internalServerError