• Domino Mail Services (REST) /api/mail is just delivering the users own mailbox, and not an array of mailboxes, to which the authenticated user has access

    By Peter Arndt 9 years ago

    Hi,

    I am using the Domino Mail REST Service.

    I created a defect, because the documentation is different from the implementation from my point of view.
    If I am calling GET/api/mail I am getting on all servers I tried just one mailbox, the one from the authenticated user.
    I am sure that the user I tried with, had access to other mailboxes as well, but getting no results for them.
    Is there sth I missed configuring the service ? I am using the latest version of the extlib.
    I think the behaviour, like it is documented would be important, because we would like to have information about substitution.
    Interesting would be the level (reader or author) as well.
    Is anybody using these services ?

    The following is copied from the “Domino Mail Service.pdf”.
    “3.1 Discovering Mail Resources
    To get the list of resources for the authenticated user, you send an HTTP GET request to the service's root resource:
    GET/api/mail
    In other words, the response is an object containing a mailboxes array. Each mailbox object represents a mail file to which the authenticated user has access.”

    Any respond is appreciated.

    Regards Peter

    • By Dave Delay 9 years ago

      The long term plan is to return an array of mailboxes including delegated mailboxes, but that's not implemented yet. Currently, we only return the authenticated user's mailbox.

      I can add a note to the documentation, but we have no immediate plans to change the code. There's no quick way to discover the list of mail files a user has access to – at least not yet.

      – Dave