Results 1 to 2 of 2

Thread: Zimbra REST API & Pagination

  1. #1
    yencarnacion is offline Beginner Member
    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    2

    Default Zimbra REST API & Pagination

    I also posted the following question also on stackoverflow at Zimbra REST API & Pagination - Stack Overflow

    The Zimbra wiki states that the url for getting a folder has the following structure:

    Code:
    http://localhost:7070/home/john.doe/{folder-name}?{params}
    So if I wanted to retrieve the inbox in rss format I would look in:

    The question is:

    How Do I achieve pagination with the above url format. Stated otherwise, how would the calls for messages 1 to 10 and 11 to 20 look like?

  2. #2
    ppearl's Avatar
    ppearl is offline Zimbra Employee
    Join Date
    Jul 2007
    Location
    US
    Posts
    67
    Rep Power
    8

    Default

    On your ZCS server, you can look at the "SEARCHING" section of /opt/zimbra/docs/rest.txt for some documentation. However, it appears there may be a bug in the RSS handler (RssFormatter.java) where limit and offset may not be handled properly (in addition, sortBy may not be honored). I suspect you'll need to use the SOAP API for the time being unless you're able to dump the entire result set you need in the single REST request.

    I filed the following bug against ZCS 8.0.4:
    Bug 83788 – REST limit and offset seem broken for RSS and sortBy may not be honored - REST limit and offset seem broken for RSS and sortBy may not be honored

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra 8 REST API
    By kapplebaum in forum Developers
    Replies: 0
    Last Post: 06-24-2013, 03:49 PM
  2. Rest API Zimbra 8
    By aetuo in forum Zimlets
    Replies: 1
    Last Post: 06-06-2013, 01:19 PM
  3. Revisiting the Zimbra REST API…
    By ZimbraCommunity in forum Community News
    Replies: 2
    Last Post: 02-10-2010, 02:28 PM
  4. Replies: 2
    Last Post: 10-27-2009, 02:53 PM
  5. REST Access for Zimbra 5.0GA
    By chipmunk in forum Developers
    Replies: 2
    Last Post: 01-14-2008, 12:34 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •