Lots of emails while I was asleep! I
2009/11/17 Bob McWhirter bmcwhirt@redhat.com:
Does anyone have any prior art on how complex queries can be encoded in a RESTful query-string?
?arch=x86
is fairly simple, but...
?memory>2gb
We do it similar things using matrix params. Query /orders;inactive=N, or /orders;inactive=N;name=blah;host=host76
Could have ;arch=x86;min_mem=2b;min_cpu=2
I guess we use it to filter out a subset of the resource,
I don't know if this is the right way for this, thats just how we do it :)
-Ivan, rimuhosting.com