feat: add filterDateField parameter to enable filtering by updated-at in responses endpoint (#6833)

Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
This commit is contained in:
Matti Nannt
2025-11-18 11:14:45 +01:00
committed by GitHub
parent 7933d0077a
commit 9ae66f44ae
5 changed files with 142 additions and 7 deletions

View File

@@ -611,6 +611,16 @@ paths:
schema:
type: string
description: End date
- in: query
name: filterDateField
description: Date field to filter by
schema:
type: string
enum:
- createdAt
- updatedAt
default: createdAt
description: Date field to filter by
- in: query
name: surveyId
schema:
@@ -1708,6 +1718,16 @@ paths:
schema:
type: string
description: End date
- in: query
name: filterDateField
description: Date field to filter by
schema:
type: string
enum:
- createdAt
- updatedAt
default: createdAt
description: Date field to filter by
- in: query
name: environmentId
description: The environment ID to filter by
@@ -2242,6 +2262,16 @@ paths:
schema:
type: string
description: End date
- in: query
name: filterDateField
description: Date field to filter by
schema:
type: string
enum:
- createdAt
- updatedAt
default: createdAt
description: Date field to filter by
- in: query
name: surveyIds
schema:
@@ -2699,6 +2729,16 @@ paths:
schema:
type: string
description: End date
- in: query
name: filterDateField
description: Date field to filter by
schema:
type: string
enum:
- createdAt
- updatedAt
default: createdAt
description: Date field to filter by
responses:
"200":
description: Teams retrieved successfully.
@@ -3003,6 +3043,16 @@ paths:
schema:
type: string
description: End date
- in: query
name: filterDateField
description: Date field to filter by
schema:
type: string
enum:
- createdAt
- updatedAt
default: createdAt
description: Date field to filter by
- in: query
name: teamId
schema:
@@ -3301,6 +3351,16 @@ paths:
schema:
type: string
description: End date
- in: query
name: filterDateField
description: Date field to filter by
schema:
type: string
enum:
- createdAt
- updatedAt
default: createdAt
description: Date field to filter by
- in: query
name: id
schema: