Tellier Benoit created JAMES-2401:
-------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]