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

WebAdmin should allow retrieving quota occupation

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mailbox, webadmin
    • Labels:
      None

      Description

      Add occupation values to User quota routes.

      GET /quota/users/bob@domain
      {
        "global": {
          "size":500000,
          "count":8000
        },
        "domain": {
          "size":500000,
          "count":8000
        },
        "user": {
          "size":500000,
          "count":8000
        },
        "computed": {
          "size":500000,
          "count":8000
        },
        "occupation": {
          "size":1000,
          "count":10000,
          "ratio": {
             "size":0.8,
             "count":0.6,
             "max":0.8
          }
        }
      }
      

      Demonstrate that it is working in webadmin-integration-test

      This is a proposal API, that you can be refining later on.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              BTellier Tellier Benoit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: