Re: NEW ISSUE Can a Client Set the Page Size?

hello all.

On 2013-02-13 00:47 , "Ashok Malhotra" <ashok.malhotra@oracle.com> wrote:
>Page size (number of entries on a page) may need to be changed depending
>on the display device.  How can the client do this?

usual REST patterns would suggest to use URI templates, so that the
service exposes its capabilities declaratively, and then the client knows
how to compose a request given that template, and concrete variable values.

https://github.com/dret/I-D/blob/master/template-desc/td-paging-01.xml
shows how this could be exposed RESTfully, based on a draft i am working
on (http://tools.ietf.org/html/draft-wilde-template-desc-00). i am
actively working on this one because of the many template-driven services
that are out there, and often aren't properly link-driven, but instead
rely on hardcoding URI templates either in clients (very bad) or media
types (not quite as bad, but also unnecessarily restrictive).

cheers,

dret.

Received on Wednesday, 13 February 2013 12:20:56 UTC