mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 05:40:02 -06:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user