2020-08-18 06:44:37 +00:00
|
|
|
get:
|
|
|
|
tags:
|
|
|
|
- Contact
|
|
|
|
operationId: contactSearch
|
2021-05-13 08:02:19 +00:00
|
|
|
description: Search the contacts using a search key, currently supports email search (Page size = 15)
|
2020-08-18 06:44:37 +00:00
|
|
|
summary: Search Contacts
|
|
|
|
parameters:
|
|
|
|
- name: q
|
|
|
|
in: query
|
|
|
|
type: string
|
2021-08-13 07:32:46 +00:00
|
|
|
description: Search using contact `name`, `identifier`, `email` or `phone number`
|
2021-05-13 08:02:19 +00:00
|
|
|
- $ref: '#/parameters/contact_sort_param'
|
|
|
|
- $ref: '#/parameters/page'
|
2020-08-18 06:44:37 +00:00
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
description: Success
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
payload:
|
|
|
|
$ref: '#/definitions/contact_list'
|
|
|
|
401:
|
|
|
|
description: Authentication error
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/bad_request_error'
|