> @@ -0,0 +1,54 @@
> +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> +<users>
> +     <link rel="first" 
> href="http://localhost/api/admin/enterprises/1/users?limit=2"/>
> +     <link rel="last" 
> href="http://localhost/api/admin/enterprises/1/users?startwith=0&amp;limit=2"/>

Actually, that is what will be returned by the api. The mentioned issue
about the query params also affects the links, as they are inconsistent
with what the api expects (btw the first and last links are always
returned).

This has been already fixed in Abiquo but we'll have to wait until that
version is deployed. I'll address this particular case in the pagination PR
once this one is merged.

Carlos, could you address the last comments and squash the commits into a
single one so I can merge it? Thanks!
El 16/08/2013 03:51, "Andrew Phillips" <[email protected]> escribió:

> In abiquo/src/test/resources/payloads/usr-list.xml:
>
> > @@ -0,0 +1,54 @@
> > +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> > +<users>
> > +   <link rel="first" 
> > href="http://localhost/api/admin/enterprises/1/users?limit=2"/>
> > +   <link rel="last" 
> > href="http://localhost/api/admin/enterprises/1/users?startwith=0&amp;limit=2
> >  <http://localhost/api/admin/enterprises/1/users?startwith=0&limit=2>"/>
>
> Would you actually get these links in the response, even if everything is
> being returned in one page?
>
> —
> Reply to this email directly or view it on 
> GitHub<https://github.com/jclouds/jclouds-labs/pull/22/files#r5806474>
> .
>

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/22/files#r5808894

Reply via email to