From 220bbe5862be3888a358bdc838064e087122fb40 Mon Sep 17 00:00:00 2001 From: Shivam Sandbhor Date: Wed, 18 May 2022 15:15:12 +0530 Subject: [PATCH] Document LAPI filters (#1535) Signed-off-by: Shivam Sandbhor --- pkg/models/localapi_swagger.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkg/models/localapi_swagger.yaml b/pkg/models/localapi_swagger.yaml index 1ec51f455..1849454dc 100644 --- a/pkg/models/localapi_swagger.yaml +++ b/pkg/models/localapi_swagger.yaml @@ -136,6 +136,21 @@ paths: required: false type: boolean description: indicate if you're looking for a decision that contains the value, or that is contained within the value + - name: origins + in: query + required: false + type: string + description: 'Comma separated name of origins. If provided, then only the decisions originating from provided origins would be returned.' + - name: scenarios_containing + in: query + required: false + type: string + description: 'Comma separated words. If provided, only the decisions created by scenarios containing any of the provided word would be returned.' + - name: scenarios_not_containing + in: query + required: false + type: string + description: 'Comma separated words. If provided, only the decisions created by scenarios, not containing any of the provided word would be returned.' responses: '200': description: "successful operation"