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

WebAdmin should allow retrieving quota occupation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • mailbox, webadmin
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: