feat: Sort contacts via name, email, phone_number, last_activity_at (#1870)
This commit is contained in:
@@ -2,12 +2,11 @@ get:
|
||||
tags:
|
||||
- Contact
|
||||
operationId: contactList
|
||||
description: Listing all the contacts with pagination
|
||||
description: Listing all the contacts with pagination (Page size = 15)
|
||||
summary: List Contacts
|
||||
parameters:
|
||||
- name: query_hash
|
||||
in: query
|
||||
type: string
|
||||
- $ref: '#/parameters/contact_sort_param'
|
||||
- $ref: '#/parameters/page'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
|
||||
@@ -2,12 +2,14 @@ get:
|
||||
tags:
|
||||
- Contact
|
||||
operationId: contactSearch
|
||||
description: Search the contacts using a search key, currently supports email search
|
||||
description: Search the contacts using a search key, currently supports email search (Page size = 15)
|
||||
summary: Search Contacts
|
||||
parameters:
|
||||
- name: q
|
||||
in: query
|
||||
type: string
|
||||
- $ref: '#/parameters/contact_sort_param'
|
||||
- $ref: '#/parameters/page'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
|
||||
Reference in New Issue
Block a user