feat: Add APIs to create custom views on the dashboard (#2498)
This commit is contained in:
21
swagger/definitions/resource/custom_filter.yml
Normal file
21
swagger/definitions/resource/custom_filter.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: number
|
||||
description: The ID of the custom filter
|
||||
name:
|
||||
type: string
|
||||
description: The name of the custom filter
|
||||
type:
|
||||
type: string
|
||||
enum: ["conversation", "contact", "report"]
|
||||
description: The description about the custom filter
|
||||
query:
|
||||
type: object
|
||||
description: A query that needs to be saved as a custom filter
|
||||
created_at:
|
||||
type: datetime
|
||||
description: The time at which the custom filter was created
|
||||
updated_at:
|
||||
type: datetime
|
||||
description: The time at which the custom filter was updated
|
||||
Reference in New Issue
Block a user