Hi all,

A spec [1] that proposes adding a new server_ids query string parameter to the existing GET /servers/detail URI resource has highlighted an interesting issue.

The point of the spec is to add an ability to filter the results for the GET /servers/detail API call to a specified set of instance UUIDs. However, Tony Breeds points out that there will be a rather small limit (~55 or so, maximum) on the number of UUIDs that can be specified in the query parameters due to length limitations of the URI.

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.

Thank you!
-jay

[1] https://review.openstack.org/#/c/239286/

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to