Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add possibility to combine api parameters with AND instead of only OR #265

Closed
simonmorgenthaler opened this issue Aug 31, 2016 · 2 comments

Comments

@simonmorgenthaler
Copy link

The api calls with multiple parameters (for example /api/transactions) state in the documentation "All parameters join by 'OR'". Wouldn't it make more sense to join them by AND? This would allow to use type=0&senderId=xxx to get only the send transactions of a specific account. By joining the parameters with OR, this is not possible.
Even better would be if you could decide from case to case, by adding an additional parameter "joining=and|or".

@simonmorgenthaler
Copy link
Author

Such changes could potentially break a lot of 3rd-party-tools/-scripts/-developments. You should plan, implement and communicate such changes pretty carefully

@karmacoma
Copy link
Contributor

@simonmorgenthaler Yes for sure it would be a breaking change, but if well documented a welcome one. It won't be a top priority, but we will do.

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

No branches or pull requests

2 participants