From 66b06bb803d3bd446652d8fdc686fc8f80922f42 Mon Sep 17 00:00:00 2001 From: Ninolito Date: Thu, 29 Jan 2026 10:36:50 +0800 Subject: [PATCH 1/2] refactor: replace optional date fields with filters in ListRecommendationsV3Request --- cover/v1/cover.proto | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cover/v1/cover.proto b/cover/v1/cover.proto index 3cf9d79e..527faaf9 100644 --- a/cover/v1/cover.proto +++ b/cover/v1/cover.proto @@ -1538,8 +1538,7 @@ message ExecuteRecommendationV3Response { message ListRecommendationsV3Request { string costgroupId = 1; repeated string statuses = 2; - optional string dateStart = 3; - optional string dateEnd = 4; + map filters = 3; } message RecommendationSummary { From cebf1cd2ba4002bcb120a4b125df2525e44358af Mon Sep 17 00:00:00 2001 From: Ninolito Date: Thu, 29 Jan 2026 10:36:59 +0800 Subject: [PATCH 2/2] refactor: replace date fields with filters in API documentation --- openapiv2/apidocs.swagger.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openapiv2/apidocs.swagger.json b/openapiv2/apidocs.swagger.json index fe5ba909..e3054006 100644 --- a/openapiv2/apidocs.swagger.json +++ b/openapiv2/apidocs.swagger.json @@ -41842,11 +41842,11 @@ "type": "string" } }, - "dateStart": { - "type": "string" - }, - "dateEnd": { - "type": "string" + "filters": { + "type": "object", + "additionalProperties": { + "type": "string" + } } } },