From 35c86d0d95c5597b66eb535cdf1f1b1fc8a3ef06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cnico-shishkin=E2=80=9D?= <“nicoshishkinatlogz@outlook.com”> Date: Mon, 14 Mar 2022 15:25:17 +0000 Subject: [PATCH 01/11] Lookuplist api --- _source/api/logzio-public-api.yml | 97 +++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index 263f14fa0..09a7e3b74 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6321,6 +6321,32 @@ paths: type: string description: GUID of the lookup list. example: 7c985e09-3db6-5dc6-ae33-58403493e13f + - name: searchQuery + in: body + required: true + type: string + minLength: 0 + maxLength: 4000 + description: Query that gets the values of the dynamic lookup lists. + example: "{\"query\": \"string_to_search\", \"filters\":[],\"shouldQueryOnAllAccounts\": true }" + - name: resultsFieldToPickFrom + in: body + type: string + minLength: 0 + maxLength: 40 + description: Name of the fields in the query results from which you need to select values for the dynamic lookup list. + - name: timeframeToRunQueryOn + in: body + type: integer + description: Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + - name: updateInterval + in: body + type: string + minLength: 0 + maxLength: 20 + description: Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + + responses: '200': description: successful operation @@ -6368,6 +6394,31 @@ paths: type: string description: GUID of the lookup list. example: 7c985e09-3db6-5dc6-ae33-58403493e13f + - name: searchQuery + in: body + required: true + type: string + minLength: 0 + maxLength: 4000 + description: Query that gets the values of the dynamic lookup lists. + example: "{\"query\": \"string_to_search\", \"filters\":[],\"shouldQueryOnAllAccounts\": true }" + - name: resultsFieldToPickFrom + in: body + type: string + minLength: 0 + maxLength: 40 + description: Name of the fields in the query results from which you need to select values for the dynamic lookup list. + - name: timeframeToRunQueryOn + in: body + type: integer + description: Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + - name: updateInterval + in: body + type: string + minLength: 0 + maxLength: 20 + description: Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + responses: '200': description: successful operation @@ -6619,6 +6670,9 @@ definitions: LookupList: type: object summary: General indentifiers for the lookup - its ID, name, and description. + required: + - searchQuery + - resultsFieldToPickFrom properties: id: type: string @@ -6634,8 +6688,31 @@ definitions: minLength: 0 maxLength: 400 description: Description of the lookup list. + searchQuery: + type: string + minLength: 0 + maxLength: 4000 + description: Query that gets the values of the dynamic lookup lists. + example: "{\"query\": \"string_to_search\", \"filters\":[],\"shouldQueryOnAllAccounts\": true }" + resultsFieldToPickFrom: + type: string + minLength: 0 + maxLength: 40 + description: Name of the fields in the query results from which you need to select values for the dynamic lookup list. + timeframeToRunQueryOn: + type: integer + description: Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + updateInterval: + type: string + minLength: 0 + maxLength: 20 + description: Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + LookupListCreateRequest: type: object + required: + - searchQuery + - resultsFieldToPickFrom properties: name: type: string @@ -6648,6 +6725,26 @@ definitions: minLength: 0 maxLength: 400 description: A place to add a free text description of the lookup list's purpose, uses and dependencies. + searchQuery: + type: string + minLength: 0 + maxLength: 4000 + description: Query that gets the values of the dynamic lookup lists. + example: "{\"query\": \"string_to_search\", \"filters\":[],\"shouldQueryOnAllAccounts\": true }" + resultsFieldToPickFrom: + type: string + minLength: 0 + maxLength: 40 + description: Name of the fields in the query results from which you need to select values for the dynamic lookup list. + timeframeToRunQueryOn: + type: integer + description: Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + updateInterval: + type: string + minLength: 0 + maxLength: 20 + description: Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + PagedSearchResponseLookupList: type: object properties: From 596e9ac7035200688a241bea22bbacba1ef7941d Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:36:46 +0000 Subject: [PATCH 02/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index 09a7e3b74..be0f3443b 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6401,7 +6401,32 @@ paths: minLength: 0 maxLength: 4000 description: Query that gets the values of the dynamic lookup lists. - example: "{\"query\": \"string_to_search\", \"filters\":[],\"shouldQueryOnAllAccounts\": true }" + example: >- + { + "query": "string", + "filters": { // filters are described in https://docs.logz.io/api/#tag/Alerts , subComponents/queryDefinition/filters + "bool": { + "must": [ + {} + ], + "must_not": [ + {} + ] + } + }, + "groupBy": [ + { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + ], + "shouldQueryOnAllAccounts": true, + "accountIdsToQueryOn": [ + 0 + ] + } + - name: resultsFieldToPickFrom in: body type: string From 965b4c2cbc3aa84e54bab149ce5bc94b380eda17 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:48:46 +0000 Subject: [PATCH 03/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 52 +++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index be0f3443b..85b90d6ea 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6328,7 +6328,31 @@ paths: minLength: 0 maxLength: 4000 description: Query that gets the values of the dynamic lookup lists. - example: "{\"query\": \"string_to_search\", \"filters\":[],\"shouldQueryOnAllAccounts\": true }" + example: >- + { + "query": "string", + "filters": { // filters are described in https://docs.logz.io/api/#tag/Alerts , subComponents/queryDefinition/filters + "bool": { + "must": [ + {} + ], + "must_not": [ + {} + ] + } + }, + "groupBy": [ + { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + ], + "shouldQueryOnAllAccounts": true, + "accountIdsToQueryOn": [ + 0 + ] + } - name: resultsFieldToPickFrom in: body type: string @@ -6718,7 +6742,31 @@ definitions: minLength: 0 maxLength: 4000 description: Query that gets the values of the dynamic lookup lists. - example: "{\"query\": \"string_to_search\", \"filters\":[],\"shouldQueryOnAllAccounts\": true }" + example: >- + { + "query": "string", + "filters": { // filters are described in https://docs.logz.io/api/#tag/Alerts , subComponents/queryDefinition/filters + "bool": { + "must": [ + {} + ], + "must_not": [ + {} + ] + } + }, + "groupBy": [ + { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + ], + "shouldQueryOnAllAccounts": true, + "accountIdsToQueryOn": [ + 0 + ] + } resultsFieldToPickFrom: type: string minLength: 0 From 07e0d2ef035c5079c4f61b533875d025b8d41ff7 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:50:10 +0000 Subject: [PATCH 04/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index 85b90d6ea..bf8290bbd 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6803,7 +6803,31 @@ definitions: minLength: 0 maxLength: 4000 description: Query that gets the values of the dynamic lookup lists. - example: "{\"query\": \"string_to_search\", \"filters\":[],\"shouldQueryOnAllAccounts\": true }" + example: >- + { + "query": "string", + "filters": { // filters are described in https://docs.logz.io/api/#tag/Alerts , subComponents/queryDefinition/filters + "bool": { + "must": [ + {} + ], + "must_not": [ + {} + ] + } + }, + "groupBy": [ + { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + ], + "shouldQueryOnAllAccounts": true, + "accountIdsToQueryOn": [ + 0 + ] + } resultsFieldToPickFrom: type: string minLength: 0 From 3b7f833507d12a36b6d3f4d89a06989ca6bc51e5 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 11:13:29 +0000 Subject: [PATCH 05/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 40 +++++++++++++------------------ 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index bf8290bbd..b0f4dab8a 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6323,11 +6323,10 @@ paths: example: 7c985e09-3db6-5dc6-ae33-58403493e13f - name: searchQuery in: body - required: true type: string minLength: 0 maxLength: 4000 - description: Query that gets the values of the dynamic lookup lists. + description: **For future use - don’t use this field.** Query that gets the values of the dynamic lookup lists. example: >- { "query": "string", @@ -6358,17 +6357,17 @@ paths: type: string minLength: 0 maxLength: 40 - description: Name of the fields in the query results from which you need to select values for the dynamic lookup list. + description: **For future use - don’t use this field.** Name of the fields in the query results from which you need to select values for the dynamic lookup list. - name: timeframeToRunQueryOn in: body type: integer - description: Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + description: **For future use - don’t use this field.** Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. - name: updateInterval in: body type: string minLength: 0 maxLength: 20 - description: Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: **For future use - don’t use this field.** Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. responses: @@ -6420,11 +6419,10 @@ paths: example: 7c985e09-3db6-5dc6-ae33-58403493e13f - name: searchQuery in: body - required: true type: string minLength: 0 maxLength: 4000 - description: Query that gets the values of the dynamic lookup lists. + description: **For future use - don’t use this field.** Query that gets the values of the dynamic lookup lists. example: >- { "query": "string", @@ -6456,17 +6454,17 @@ paths: type: string minLength: 0 maxLength: 40 - description: Name of the fields in the query results from which you need to select values for the dynamic lookup list. + description: **For future use - don’t use this field.** Name of the fields in the query results from which you need to select values for the dynamic lookup list. - name: timeframeToRunQueryOn in: body type: integer - description: Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + description: **For future use - don’t use this field.** Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. - name: updateInterval in: body type: string minLength: 0 maxLength: 20 - description: Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: **For future use - don’t use this field.** Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. responses: '200': @@ -6719,9 +6717,6 @@ definitions: LookupList: type: object summary: General indentifiers for the lookup - its ID, name, and description. - required: - - searchQuery - - resultsFieldToPickFrom properties: id: type: string @@ -6741,7 +6736,7 @@ definitions: type: string minLength: 0 maxLength: 4000 - description: Query that gets the values of the dynamic lookup lists. + description: **For future use - don’t use this field.** Query that gets the values of the dynamic lookup lists. example: >- { "query": "string", @@ -6771,21 +6766,18 @@ definitions: type: string minLength: 0 maxLength: 40 - description: Name of the fields in the query results from which you need to select values for the dynamic lookup list. + description: **For future use - don’t use this field.** Name of the fields in the query results from which you need to select values for the dynamic lookup list. timeframeToRunQueryOn: type: integer - description: Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + description: **For future use - don’t use this field.** Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. updateInterval: type: string minLength: 0 maxLength: 20 - description: Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: **For future use - don’t use this field.** Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. LookupListCreateRequest: type: object - required: - - searchQuery - - resultsFieldToPickFrom properties: name: type: string @@ -6802,7 +6794,7 @@ definitions: type: string minLength: 0 maxLength: 4000 - description: Query that gets the values of the dynamic lookup lists. + description: **For future use - don’t use this field.** Query that gets the values of the dynamic lookup lists. example: >- { "query": "string", @@ -6832,15 +6824,15 @@ definitions: type: string minLength: 0 maxLength: 40 - description: Name of the fields in the query results from which you need to select values for the dynamic lookup list. + description: **For future use - don’t use this field.** Name of the fields in the query results from which you need to select values for the dynamic lookup list. timeframeToRunQueryOn: type: integer - description: Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + description: **For future use - don’t use this field.** Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. updateInterval: type: string minLength: 0 maxLength: 20 - description: Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: **For future use - don’t use this field.** Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. PagedSearchResponseLookupList: type: object From b73decadac0a7b4a6a303681be434e2636dff445 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 11:22:10 +0000 Subject: [PATCH 06/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index b0f4dab8a..a2e43ff41 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6326,7 +6326,7 @@ paths: type: string minLength: 0 maxLength: 4000 - description: **For future use - don’t use this field.** Query that gets the values of the dynamic lookup lists. + description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. example: >- { "query": "string", @@ -6357,17 +6357,17 @@ paths: type: string minLength: 0 maxLength: 40 - description: **For future use - don’t use this field.** Name of the fields in the query results from which you need to select values for the dynamic lookup list. + description: For future use - don’t use this field. Name of the fields in the query results from which you need to select values for the dynamic lookup list. - name: timeframeToRunQueryOn in: body type: integer - description: **For future use - don’t use this field.** Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + description: For future use - don’t use this field. Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. - name: updateInterval in: body type: string minLength: 0 maxLength: 20 - description: **For future use - don’t use this field.** Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. responses: @@ -6422,7 +6422,7 @@ paths: type: string minLength: 0 maxLength: 4000 - description: **For future use - don’t use this field.** Query that gets the values of the dynamic lookup lists. + description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. example: >- { "query": "string", @@ -6454,17 +6454,17 @@ paths: type: string minLength: 0 maxLength: 40 - description: **For future use - don’t use this field.** Name of the fields in the query results from which you need to select values for the dynamic lookup list. + description: For future use - don’t use this field. Name of the fields in the query results from which you need to select values for the dynamic lookup list. - name: timeframeToRunQueryOn in: body type: integer - description: **For future use - don’t use this field.** Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + description: For future use - don’t use this field. Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. - name: updateInterval in: body type: string minLength: 0 maxLength: 20 - description: **For future use - don’t use this field.** Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. responses: '200': @@ -6736,7 +6736,7 @@ definitions: type: string minLength: 0 maxLength: 4000 - description: **For future use - don’t use this field.** Query that gets the values of the dynamic lookup lists. + description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. example: >- { "query": "string", @@ -6766,15 +6766,15 @@ definitions: type: string minLength: 0 maxLength: 40 - description: **For future use - don’t use this field.** Name of the fields in the query results from which you need to select values for the dynamic lookup list. + description: For future use - don’t use this field. Name of the fields in the query results from which you need to select values for the dynamic lookup list. timeframeToRunQueryOn: type: integer - description: **For future use - don’t use this field.** Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + description: For future use - don’t use this field. Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. updateInterval: type: string minLength: 0 maxLength: 20 - description: **For future use - don’t use this field.** Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. LookupListCreateRequest: type: object @@ -6794,7 +6794,7 @@ definitions: type: string minLength: 0 maxLength: 4000 - description: **For future use - don’t use this field.** Query that gets the values of the dynamic lookup lists. + description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. example: >- { "query": "string", @@ -6824,15 +6824,15 @@ definitions: type: string minLength: 0 maxLength: 40 - description: **For future use - don’t use this field.** Name of the fields in the query results from which you need to select values for the dynamic lookup list. + description: For future use - don’t use this field. Name of the fields in the query results from which you need to select values for the dynamic lookup list. timeframeToRunQueryOn: type: integer - description: **For future use - don’t use this field.** Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. + description: For future use - don’t use this field. Time interval in seconds for running the query backwards starting from the present moment. The default value is `3600`, which is the past hour. updateInterval: type: string minLength: 0 maxLength: 20 - description: **For future use - don’t use this field.** Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. PagedSearchResponseLookupList: type: object From 3af95e4d182d8e279a08f2b6aafb4a6dbe32fd83 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 13:18:34 +0000 Subject: [PATCH 07/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index a2e43ff41..65b33d719 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6323,9 +6323,7 @@ paths: example: 7c985e09-3db6-5dc6-ae33-58403493e13f - name: searchQuery in: body - type: string - minLength: 0 - maxLength: 4000 + type: object description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. example: >- { @@ -6419,9 +6417,7 @@ paths: example: 7c985e09-3db6-5dc6-ae33-58403493e13f - name: searchQuery in: body - type: string - minLength: 0 - maxLength: 4000 + type: object description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. example: >- { @@ -6733,9 +6729,7 @@ definitions: maxLength: 400 description: Description of the lookup list. searchQuery: - type: string - minLength: 0 - maxLength: 4000 + type: object description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. example: >- { @@ -6791,9 +6785,7 @@ definitions: maxLength: 400 description: A place to add a free text description of the lookup list's purpose, uses and dependencies. searchQuery: - type: string - minLength: 0 - maxLength: 4000 + type: object description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. example: >- { From 9c180a9c9f786396b1c9264836b2cf7f8620a2b5 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 13:34:06 +0000 Subject: [PATCH 08/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 249 ++++++++++++++++++------------ 1 file changed, 149 insertions(+), 100 deletions(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index 65b33d719..92ebd9093 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6325,31 +6325,43 @@ paths: in: body type: object description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. - example: >- - { - "query": "string", - "filters": { // filters are described in https://docs.logz.io/api/#tag/Alerts , subComponents/queryDefinition/filters - "bool": { - "must": [ - {} - ], - "must_not": [ - {} - ] - } - }, - "groupBy": [ - { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - ], - "shouldQueryOnAllAccounts": true, - "accountIdsToQueryOn": [ - 0 - ] - } + properties: + query: + type: string + filters: + type: object + properties: + bool: + type: object + properties: + must: + type: array + items: + type: object + properties: + must_not: + type: array + items: + type: object + properties: + groupBy: + type: array + items: + type: object + properties: + additionalProp1: + type: string + additionalProp2: + type: string + additionalProp3: + type: string + shouldQueryOnAllAccounts: + type: boolean + accountIdsToQueryOn: + type: array + items: + type: integer + format: int32 - name: resultsFieldToPickFrom in: body type: string @@ -6419,31 +6431,44 @@ paths: in: body type: object description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. - example: >- - { - "query": "string", - "filters": { // filters are described in https://docs.logz.io/api/#tag/Alerts , subComponents/queryDefinition/filters - "bool": { - "must": [ - {} - ], - "must_not": [ - {} - ] - } - }, - "groupBy": [ - { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - ], - "shouldQueryOnAllAccounts": true, - "accountIdsToQueryOn": [ - 0 - ] - } + properties: + query: + type: string + filters: + type: object + properties: + bool: + type: object + properties: + must: + type: array + items: + type: object + properties: + must_not: + type: array + items: + type: object + properties: + groupBy: + type: array + items: + type: object + properties: + additionalProp1: + type: string + additionalProp2: + type: string + additionalProp3: + type: string + shouldQueryOnAllAccounts: + type: boolean + accountIdsToQueryOn: + type: array + items: + type: integer + format: int32 + - name: resultsFieldToPickFrom in: body @@ -6731,31 +6756,43 @@ definitions: searchQuery: type: object description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. - example: >- - { - "query": "string", - "filters": { // filters are described in https://docs.logz.io/api/#tag/Alerts , subComponents/queryDefinition/filters - "bool": { - "must": [ - {} - ], - "must_not": [ - {} - ] - } - }, - "groupBy": [ - { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - ], - "shouldQueryOnAllAccounts": true, - "accountIdsToQueryOn": [ - 0 - ] - } + properties: + query: + type: string + filters: + type: object + properties: + bool: + type: object + properties: + must: + type: array + items: + type: object + properties: + must_not: + type: array + items: + type: object + properties: + groupBy: + type: array + items: + type: object + properties: + additionalProp1: + type: string + additionalProp2: + type: string + additionalProp3: + type: string + shouldQueryOnAllAccounts: + type: boolean + accountIdsToQueryOn: + type: array + items: + type: integer + format: int32 resultsFieldToPickFrom: type: string minLength: 0 @@ -6787,31 +6824,43 @@ definitions: searchQuery: type: object description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. - example: >- - { - "query": "string", - "filters": { // filters are described in https://docs.logz.io/api/#tag/Alerts , subComponents/queryDefinition/filters - "bool": { - "must": [ - {} - ], - "must_not": [ - {} - ] - } - }, - "groupBy": [ - { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - ], - "shouldQueryOnAllAccounts": true, - "accountIdsToQueryOn": [ - 0 - ] - } + properties: + query: + type: string + filters: + type: object + properties: + bool: + type: object + properties: + must: + type: array + items: + type: object + properties: + must_not: + type: array + items: + type: object + properties: + groupBy: + type: array + items: + type: object + properties: + additionalProp1: + type: string + additionalProp2: + type: string + additionalProp3: + type: string + shouldQueryOnAllAccounts: + type: boolean + accountIdsToQueryOn: + type: array + items: + type: integer + format: int32 resultsFieldToPickFrom: type: string minLength: 0 From 58da01362280b4fe6a2b60ad9e5c88f468424262 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 13:44:56 +0000 Subject: [PATCH 09/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index 92ebd9093..6eb0fbd9f 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6324,7 +6324,7 @@ paths: - name: searchQuery in: body type: object - description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. + description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. See `subComponents/queryDefinition` in [Alerts/createAlert](https://docs.logz.io/api/#operation/createAlert) for more details. properties: query: type: string From 4d8855e212d22afcadec96096eb9708b659fafec Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Wed, 16 Mar 2022 17:20:44 +0000 Subject: [PATCH 10/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index 6eb0fbd9f..43035b155 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6324,7 +6324,6 @@ paths: - name: searchQuery in: body type: object - description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. See `subComponents/queryDefinition` in [Alerts/createAlert](https://docs.logz.io/api/#operation/createAlert) for more details. properties: query: type: string @@ -6430,7 +6429,7 @@ paths: - name: searchQuery in: body type: object - description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. + description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. See `subComponents/queryDefinition` in [Alerts/createAlert](https://docs.logz.io/api/#operation/createAlert) for more details. properties: query: type: string @@ -6755,7 +6754,7 @@ definitions: description: Description of the lookup list. searchQuery: type: object - description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. + description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. See `subComponents/queryDefinition` in [Alerts/createAlert](https://docs.logz.io/api/#operation/createAlert) for more details. properties: query: type: string @@ -6823,7 +6822,7 @@ definitions: description: A place to add a free text description of the lookup list's purpose, uses and dependencies. searchQuery: type: object - description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. + description: For future use - don’t use this field. Query that gets the values of the dynamic lookup lists. See `subComponents/queryDefinition` in [Alerts/createAlert](https://docs.logz.io/api/#operation/createAlert) for more details. properties: query: type: string From 57ec87b992b1f7a9afd084eef8a110d35b562b6a Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Mon, 21 Mar 2022 10:14:33 +0000 Subject: [PATCH 11/11] Update logzio-public-api.yml --- _source/api/logzio-public-api.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_source/api/logzio-public-api.yml b/_source/api/logzio-public-api.yml index 43035b155..675f6af3b 100644 --- a/_source/api/logzio-public-api.yml +++ b/_source/api/logzio-public-api.yml @@ -6376,7 +6376,7 @@ paths: type: string minLength: 0 maxLength: 20 - description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '0 12 0 * * ?'. responses: @@ -6484,7 +6484,7 @@ paths: type: string minLength: 0 maxLength: 20 - description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '0 12 0 * * ?'. responses: '200': @@ -6804,7 +6804,7 @@ definitions: type: string minLength: 0 maxLength: 20 - description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '0 12 0 * * ?'. LookupListCreateRequest: type: object @@ -6872,7 +6872,7 @@ definitions: type: string minLength: 0 maxLength: 20 - description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '12 0 * * *'. + description: For future use - don’t use this field. Cron expression that represents the time between two consecutive updates of the dynamic lookup list. The default value is each day at 00:12 am, indicated as '0 12 0 * * ?'. PagedSearchResponseLookupList: type: object