On Tue, Nov 03 2015, Jay Pipes wrote: > My suggestion was to add a new POST /servers/search URI resource that can take > a request body containing large numbers of filter arguments, encoded in a JSON > object. > > API working group, what thoughts do you have about this? Please add your > comments to the Gerrit spec patch if you have time.
FWIW, we already have an extensive support for that in both Ceilometer and Gnocchi. It looks like a small JSON query DSL that we're able to "compile" down to SQL Alchemy filters. A few examples are: http://docs.openstack.org/developer/gnocchi/rest.html#searching-for-resources I've planed for a long time to move this code to a library, so if Nova's interested, I can try to move that forward eagerly. -- Julien Danjou # Free Software hacker # https://julien.danjou.info
signature.asc
Description: PGP signature
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev