you can say something like:
"/pets[pet]/{pet.kind.eq}"
and call /pets/dog or /pets/cat
It is not documented because I am convinced this syntax is definitive. It
needs more etsting and as you suggest it may be richer.
massimo
On Saturday, 29 December 2012 11:32:25 UTC-6, DenesL wrote:
>
> Hi all,
>
> is there any documentation (aside from what is said in the book) about the
> queries parameter in parse_as_rest?
> Some examples would be nice.
>
> Also, looking at the patterns, there does not seem a way to specify a
> subset in a pattern e.g. (pseudo-code)
>
> "/dogs[pet]/{pet.kind.eq.dog}"
>
> which would retrieve all dogs from the pet table.
>
> Regards,
> Denes
>
>
--