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

Flexible search endpoint #740

Open
kyungmin opened this issue Jan 26, 2015 · 0 comments
Open

Flexible search endpoint #740

kyungmin opened this issue Jan 26, 2015 · 0 comments

Comments

@kyungmin
Copy link

The /search endpoint should allow searching and filtering in the following format:

/search?scope[in]=order,transaction&merchant=CU123&buyer=CU456&status=succeeded
// would return all orders and transactions matching the following filtering params

Maybe we can even allow searching by any arbitrary field:

/[email protected]
// would return all resource types matching the email address

This will also resolve many search-related issues discussed in: #721.

Since the dashboard relies heavily on search to display different associations, it would be nice to achieve this level of flexibility, instead of filing issues for unsupported search params.

Reference: https://github.com/balanced/balanced/issues/717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant