diff --git a/tdei-api-gateway-prod.json b/tdei-api-gateway-prod.json
index adc9dc5..746a776 100644
--- a/tdei-api-gateway-prod.json
+++ b/tdei-api-gateway-prod.json
@@ -2511,6 +2511,19 @@
"format": "date-time"
}
},
+ {
+ "name": "status",
+ "in": "query",
+ "required": false,
+ "description": "status: Filters feedbacks by their status.",
+ "schema": {
+ "type": "string",
+ "enum": [
+ "open",
+ "resolved"
+ ]
+ }
+ },
{
"name": "sort_by",
"in": "query",
@@ -2595,17 +2608,24 @@
"summary": "Retrieves the feedbacks summary.",
"description": "Retrieves the feedbacks summary. Response includes a summary of feedbacks such as total count, total overdue, and other relevant statistics.",
"operationId": "oswDatasetViewerFeedbacksMetadata",
- "parameters": [],
+ "parameters": [
+ {
+ "name": "tdei_project_group_id",
+ "in": "query",
+ "required": false,
+ "description": "ID of the project group.",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "Feedbacks summary retrieved successfully.",
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/FeedbackMetadata"
- }
+ "$ref": "#/components/schemas/FeedbackMetadata"
}
}
}
@@ -4844,9 +4864,9 @@
"description": "Additional metadata related to the feedback.",
"properties": {
"total_count": {
- "type": "string",
+ "type": "number",
"description": "Count of feedback entries.",
- "example": "5"
+ "example": 5
},
"total_overdues": {
"type": "number",
diff --git a/tdei-api-gateway-stage.json b/tdei-api-gateway-stage.json
index 20256da..41e33ac 100644
--- a/tdei-api-gateway-stage.json
+++ b/tdei-api-gateway-stage.json
@@ -2511,6 +2511,19 @@
"format": "date-time"
}
},
+ {
+ "name": "status",
+ "in": "query",
+ "required": false,
+ "description": "status: Filters feedbacks by their status.",
+ "schema": {
+ "type": "string",
+ "enum": [
+ "open",
+ "resolved"
+ ]
+ }
+ },
{
"name": "sort_by",
"in": "query",
@@ -2595,17 +2608,24 @@
"summary": "Retrieves the feedbacks summary.",
"description": "Retrieves the feedbacks summary. Response includes a summary of feedbacks such as total count, total overdue, and other relevant statistics.",
"operationId": "oswDatasetViewerFeedbacksMetadata",
- "parameters": [],
+ "parameters": [
+ {
+ "name": "tdei_project_group_id",
+ "in": "query",
+ "required": false,
+ "description": "ID of the project group.",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "Feedbacks summary retrieved successfully.",
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/FeedbackMetadata"
- }
+ "$ref": "#/components/schemas/FeedbackMetadata"
}
}
}
@@ -4844,9 +4864,9 @@
"description": "Additional metadata related to the feedback.",
"properties": {
"total_count": {
- "type": "string",
+ "type": "number",
"description": "Count of feedback entries.",
- "example": "5"
+ "example": 5
},
"total_overdues": {
"type": "number",
diff --git a/tdei-api-gateway.json b/tdei-api-gateway.json
index 0ac48cd..5b584b2 100644
--- a/tdei-api-gateway.json
+++ b/tdei-api-gateway.json
@@ -2511,6 +2511,19 @@
"format": "date-time"
}
},
+ {
+ "name": "status",
+ "in": "query",
+ "required": false,
+ "description": "status: Filters feedbacks by their status.",
+ "schema": {
+ "type": "string",
+ "enum": [
+ "open",
+ "resolved"
+ ]
+ }
+ },
{
"name": "sort_by",
"in": "query",
@@ -2595,17 +2608,24 @@
"summary": "Retrieves the feedbacks summary.",
"description": "Retrieves the feedbacks summary. Response includes a summary of feedbacks such as total count, total overdue, and other relevant statistics.",
"operationId": "oswDatasetViewerFeedbacksMetadata",
- "parameters": [],
+ "parameters": [
+ {
+ "name": "tdei_project_group_id",
+ "in": "query",
+ "required": false,
+ "description": "ID of the project group.",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "Feedbacks summary retrieved successfully.",
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/FeedbackMetadata"
- }
+ "$ref": "#/components/schemas/FeedbackMetadata"
}
}
}
@@ -4992,8 +5012,8 @@
},
"total_overdues": {
"type": "number",
- "description": "Indicates number of overdue feedbacks.",
- "example": 0
+ "description": "Count of feedback entries.",
+ "example": 5
},
"total_open": {
"type": "number",