Hi Gabor,
I do not know any standard or convention, but i have been using this
kind of paths:
/myApp/resources/Customers/{first}-{max}
So you can call a service:
/myApp/resources/Customers/150-30
What do you think about these approach?
Cheers,
Frank.
On Thu, Jul 10, 2008 at 10:44 AM, Gabor Szokoli <szocske_at_gmail.com> wrote:
> Hi,
>
> I have a RESTful service (implemented in Jersey of course, and that's
> all the connection to Jersey in this question) which returns a
> resource listing of unbounded size.
> I'd like to add query parameters for "start record" and "max records"
> to be able to query the list in chunks. (in case the other parameters
> do not restrict the list enough.)
>
> Is there some commonly accepted naming convention for these query parameters?
> What do you guys use?
>
> Any advice appreciated.
>
>
> Gabor Szokoli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>
--
Frank D. Martínez M.
Asimov Technologies Ltda.
Blog: http://www.ibstaff.net/fmartinez/