Skip to content

Allow arbitrary queries via web API #65

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

Open
tunnell opened this issue Dec 5, 2016 · 3 comments
Open

Allow arbitrary queries via web API #65

tunnell opened this issue Dec 5, 2016 · 3 comments
Assignees

Comments

@tunnell
Copy link
Member

tunnell commented Dec 5, 2016

Can we have it so the web API allows arbitrary mongo queries? This greatly simplifies processing and lightens the load on Mongo if we do it correctly. For example:

https://gist.github.com/ershockley/0fa384dd4ed36f159cdd754c9aac388f

@pdeperio
Copy link
Contributor

is #38 supposed to solve this?

@coderdj
Copy link
Contributor

coderdj commented Jun 26, 2017

Nah, this doesn't exist at all. It's more an API limitation but due to lack of interest (#38 still open) I stopped developing this aspect of the API.

@ershockley
Copy link

I'm not sure how 'arbitrary' you mean exactly, but so far I haven't had any problem doing complicated mongo queries. Here's an example

In OSG processing we can pass a query like this, which is queried via API here by calling this function.

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

4 participants