Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3621

Improve Mailbox webadmin routes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.6.0
    • 3.7.0
    • mailbox, webadmin
    • None

    Description

      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:

      GET /users/bob@domain.tldmailboxes/mbxName/messageCount
      
      36
      
      GET /users/bob@domain.tldmailboxes/mbxName/unseenMessageCount
      
      18
      
      
      DELETE /users/bob@domain.tldmailboxes/mbxName/messages
      
      Return code: 204
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m