diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 31a0442e64..c08c05427d 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -119,6 +119,12 @@ ], "response": [] }, + "snapshot.get": { + "request": [ + "Request: missing json spec query parameter 'state'" + ], + "response": [] + }, "snapshot.repository_analyze": { "request": [ "Request: query parameter 'register_operation_count' does not exist in the json spec" diff --git a/specification/_json_spec/snapshot.get.json b/specification/_json_spec/snapshot.get.json index 4ef3f2e6c4..4f43652dc5 100644 --- a/specification/_json_spec/snapshot.get.json +++ b/specification/_json_spec/snapshot.get.json @@ -91,6 +91,10 @@ "verbose": { "type": "boolean", "description": "Whether to show verbose snapshot info or only show the basic info found in the repository index blob" + }, + "state": { + "type": "list", + "description": "Filter snapshots by a comma-separated list of states. Valid state values are 'SUCCESS', 'IN_PROGRESS', 'FAILED', 'PARTIAL', or 'INCOMPATIBLE'." } } }