Trần Tiến Đức created JAMES-2831:
------------------------------------

             Summary: [Webadmin] corresponding routes for JMX 
LISTUSERDOMAINMAPPINGS command
                 Key: JAMES-2831
                 URL: https://issues.apache.org/jira/browse/JAMES-2831
             Project: James Server
          Issue Type: Improvement
            Reporter: Trần Tiến Đức


you will implement the **UserMappingRoutes** which does

 
{code:java}
GET /mappings/user/{username}
eg.
GET /mappings/user/[email protected]
{code}
 


Return 200 status code with a json body represent for a list of 
**MappingValueDTO**


{code:java}
[
 {
   "type": "alias",
   "mapping": "[email protected]"
 },
 {
   "type": "group",
   "mapping": "[email protected]"
 }
]{code}
- Returns 400 status code with invalid parameter values
 - Returns 500 status code for server error



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to