users@jersey.java.net

Re: [Jersey] Names for "start record" and "max records" parameters, slightly OT

From: Martin Grotzke <martin.grotzke_at_freiheit.com>
Date: Fri, 11 Jul 2008 14:01:44 +0200

Hi Gabor,

also a good place to discuss questions related to REST itself is the
rest-discuss mailing-list [1].

Cheers,
Martin

[1] http://tech.groups.yahoo.com/group/rest-discuss/


On Fri, 2008-07-11 at 10:34 +0200, Gabor Szokoli wrote:
> On 7/11/08, Martin Grotzke <martin.grotzke_at_freiheit.com> wrote:
> > Hi,
> >
> > you could have a look at the OpenSearch specification [1], they use
> > startIndex and count.
>
> I like Martins suggestion better, but I'd like to thank Frank too for his.
>
> Trick followup question:
>
> How un-RESTful is my service if I impose an implicit minimum on
> "count" in my resource-listings? The XML element enclosing the list
> would have "total" and "count" attributes to reflect the number of
> resources matching the query vs the number of resources listed.
>
> (I'll go and see what the referenced specification suggests, but I'm
> interested in peoples' oppinions too.)
>
>
> Gabor
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net