You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/05/18 14:43:00 UTC

[jira] [Resolved] (JAMES-2401) WebAdmin should allow retrieving quota occupation

     [ https://issues.apache.org/jira/browse/JAMES-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit resolved JAMES-2401.
-----------------------------------
    Resolution: Fixed

https://github.com/linagora/james-project/pull/1422 solved this issue

> WebAdmin should allow retrieving quota occupation
> -------------------------------------------------
>
>                 Key: JAMES-2401
>                 URL: https://issues.apache.org/jira/browse/JAMES-2401
>             Project: James Server
>          Issue Type: New Feature
>          Components: mailbox, webadmin
>            Reporter: Tellier Benoit
>            Priority: Major
>
> Add occupation values to User quota routes.
> {code:java}
> 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
>     }
>   }
> }
> {code}
> Demonstrate that it is working in webadmin-integration-test
> This is a proposal API, that you can be refining later on.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org