From 7101d9ceea58533997257e39003db893dd1e4fd4 Mon Sep 17 00:00:00 2001 From: Brian Rosmaita Date: Fri, 25 Aug 2017 21:11:52 -0400 Subject: [PATCH] api-ref: add 'protected' query filter Adds documentation for the 'protected' query filter introduced in Pike. Change-Id: I7c63ae1715e1bd35587f0f0954596ae1263d428b Closes-bug: #1713177 --- api-ref/source/v2/images-images-v2.inc | 1 + api-ref/source/v2/images-parameters.yaml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/api-ref/source/v2/images-images-v2.inc b/api-ref/source/v2/images-images-v2.inc index c5b52384dd..604433d504 100644 --- a/api-ref/source/v2/images-images-v2.inc +++ b/api-ref/source/v2/images-images-v2.inc @@ -452,6 +452,7 @@ Request - marker: marker - name: name-in-query - owner: owner-in-query + - protected: protected-in-query - status: status-in-query - tag: tag-in-query - visibility: visibility-in-query diff --git a/api-ref/source/v2/images-parameters.yaml b/api-ref/source/v2/images-parameters.yaml index f003ce4d60..a07a03da5e 100644 --- a/api-ref/source/v2/images-parameters.yaml +++ b/api-ref/source/v2/images-parameters.yaml @@ -156,6 +156,14 @@ owner-in-query: in: query required: false type: string +protected-in-query: + description: | + Filters the response by the 'protected' image property. A valid value is + one of 'true', 'false' (must be all lowercase). Any other value will + result in a 400 response. + in: query + required: false + type: boolean size_max: description: | Filters the response by a maximum image size, in