Results 1 to 5 of 5

Thread: Zimbra REST API Multi Server Environment

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Posts
    10
    Rep Power
    2

    Default Zimbra REST API Multi Server Environment

    When using the Zimbra REST API in a multi-server environment, must requests for data for a user that is hosted on a particular be directed to that server, or is there some routing performed from other servers to enable requests against a single server?

    Many thanks.

  2. #2
    Join Date
    Apr 2010
    Posts
    57
    Rep Power
    5

    Default

    You can send the request directly to any of your mailbox servers and it should work. It worked that way with the SOAP API the last time I tested it. Might be nice for the proxy to be able to handle these kinds of requests though.

  3. #3
    Join Date
    Mar 2013
    Posts
    10
    Rep Power
    2

    Default

    To confirm that answer: I have set up two servers and requests to either for data on either work (mostly) correctly.

    I am however seeing an issue with the REST API when attempting to access a folder on server b when the request is made to server a when the folder name contains spaces. Requests for a folder on server a via server a work correctly with spaces. I've encoded everything correctly.

    EDIT: a workaround for the issue above is to make SOAP requests to any server and to make REST requests only to the zimbraMailHost for the user in question.
    Last edited by ctss; 03-21-2013 at 01:58 PM.

  4. #4
    Join Date
    Apr 2010
    Posts
    57
    Rep Power
    5

    Default

    Quote Originally Posted by ctss View Post
    I am however seeing an issue with the REST API when attempting to access a folder on server b when the request is made to server a when the folder name contains spaces. Requests for a folder on server a via server a work correctly with spaces. I've encoded everything correctly.
    Check for a known bug, and file one if there isn't one. :-)

  5. #5
    Join Date
    Mar 2013
    Posts
    10
    Rep Power
    2

    Default

    Bug logged.

    Due to this problem and another related to restricting date ranges, I've switched to the SOAP API for everything.

Similar Threads

  1. Replies: 0
    Last Post: 12-11-2009, 02:02 AM
  2. Migrate from single to multi server environment
    By Thomas.Rasmussen in forum Migration
    Replies: 2
    Last Post: 08-19-2009, 12:56 PM
  3. Archiving in a multi-server environment
    By blaze in forum Administrators
    Replies: 1
    Last Post: 05-08-2009, 03:12 AM
  4. single to multi-server environment
    By hazmitia in forum Installation
    Replies: 24
    Last Post: 03-04-2009, 08:42 PM
  5. Hiding URL in multi server environment
    By bodada in forum Administrators
    Replies: 1
    Last Post: 09-02-2007, 10:50 AM

Posting Permissions

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