Benoit Tellier created JAMES-3621:
-------------------------------------
Summary: Improve Mailbox webadmin routes
Key: JAMES-3621
URL: https://issues.apache.org/jira/browse/JAMES-3621
Project: James Server
Issue Type: Improvement
Components: mailbox, webadmin
Affects Versions: 3.6.0
Reporter: Benoit Tellier
Fix For: 3.7.0
For one of my customer, we would like to provide additional features for the
webadmin mailbox endpoints:
- Counting emails in a given mailbox
- Counting unseen emails in a given mailbox
- Clearing content of a given mailbox
Here are the proposed endpoints to match this need:
{code:java}
GET /users/[email protected]/mbxName/messageCount
36
GET /users/[email protected]/mbxName/unseenMessageCount
18
DELETE /users/[email protected]/mbxName/messages
Return code: 204
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]