From 6cdb3a8374599a95303dc9bf14dbe96c2d4c0f16 Mon Sep 17 00:00:00 2001 From: Jose Castro Leon Date: Fri, 26 Apr 2019 16:59:18 +0200 Subject: Allow to filter endpoint groups by name While using the openstack client command, the list on endpoint filters cannot be filtered by name. This adds an optional parameter on the query to allow the name to be specified as filter. This fixes the behavior on OSC to search. Change-Id: Ia1cbc9f4ded8f2494b1bf7ba5e953be0dfaf11f5 Closes-Bug: #1828565 --- api-ref/source/v3-ext/ep-filter.inc | 12 +++++++++++- api-ref/source/v3-ext/parameters.yaml | 7 +++++++ 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'api-ref') diff --git a/api-ref/source/v3-ext/ep-filter.inc b/api-ref/source/v3-ext/ep-filter.inc index 176e5a5b6..97dd39ead 100644 --- a/api-ref/source/v3-ext/ep-filter.inc +++ b/api-ref/source/v3-ext/ep-filter.inc @@ -266,6 +266,16 @@ List all available endpoint groups. Relationship: ``https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/endpoint_groups`` +Request +------- + +Parameters +~~~~~~~~~~ + +.. rest_parameters:: parameters.yaml + + - name: request_endpoint_group_name_query_not_required + Response -------- @@ -782,4 +792,4 @@ Example Status: 200 OK .. literalinclude:: samples/OS-EP-FILTER/endpoint-groups-response.json - :language: javascript \ No newline at end of file + :language: javascript diff --git a/api-ref/source/v3-ext/parameters.yaml b/api-ref/source/v3-ext/parameters.yaml index 65145a6e9..2937fb676 100644 --- a/api-ref/source/v3-ext/parameters.yaml +++ b/api-ref/source/v3-ext/parameters.yaml @@ -93,6 +93,13 @@ user_id_path: type: string # variables in query +request_endpoint_group_name_query_not_required: + description: | + Filters the response by an endpoint group name. + in: query + required: false + type: string + since_query: description: | A timestamp used to limit the list of results to events -- cgit v1.2.1