Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for _search_document #353

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions reference/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13826,6 +13826,8 @@ paths:

This API supports very rich filtering on all response fields and pagination via query parameters. To understand how to use these parameters, please see the [Guide to Data APIs](https://docs.fylehq.com/docs/fyle-platform-docs/ZG9jOjI3Mzk2NTM3-guide-to-data-ap-is#filtering)
operationId: expenses_list
parameters:
- $ref: '#/components/parameters/q'
responses:
'200':
description: OK
Expand Down
9 changes: 9 additions & 0 deletions reference/approver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2404,6 +2404,13 @@ components:
description: |
List of IDs of expense fields which are mandatory but are missing.
parameters:
q:
in: query
name: q
description: A search query to filter the results.
schema:
type: string
example: Ritas
limit:
in: query
name: limit
Expand Down Expand Up @@ -2583,6 +2590,8 @@ paths:

This API supports very rich filtering on all response fields and pagination via query parameters. To understand how to use these parameters, please see the [Guide to Data APIs](https://docs.fylehq.com/docs/fyle-platform-docs/ZG9jOjI3Mzk2NTM3-guide-to-data-ap-is#filtering)
operationId: expenses_list
parameters:
- $ref: '#/components/parameters/q'
responses:
'200':
description: OK
Expand Down
2 changes: 2 additions & 0 deletions src/admin/paths/admin@expenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ get:

This API supports very rich filtering on all response fields and pagination via query parameters. To understand how to use these parameters, please see the [Guide to Data APIs](https://docs.fylehq.com/docs/fyle-platform-docs/ZG9jOjI3Mzk2NTM3-guide-to-data-ap-is#filtering)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Append some sentence to convey extra functionality of q.

operationId: expenses_list
parameters:
- $ref: ../../components/parameters/q.yaml
responses:
'200':
description: OK
Expand Down
2 changes: 2 additions & 0 deletions src/approver/paths/approver@expenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ get:

This API supports very rich filtering on all response fields and pagination via query parameters. To understand how to use these parameters, please see the [Guide to Data APIs](https://docs.fylehq.com/docs/fyle-platform-docs/ZG9jOjI3Mzk2NTM3-guide-to-data-ap-is#filtering)
operationId: expenses_list
parameters:
- $ref: ../../components/parameters/q.yaml
responses:
'200':
description: OK
Expand Down