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 "Tuan CONG LE (JIRA)" <se...@james.apache.org> on 2017/03/10 03:46:38 UTC

[jira] [Created] (JAMES-1961) Quota APIs for web admin server

Tuan CONG LE created JAMES-1961:
-----------------------------------

             Summary: Quota APIs for web admin server
                 Key: JAMES-1961
                 URL: https://issues.apache.org/jira/browse/JAMES-1961
             Project: James Server
          Issue Type: New Feature
            Reporter: Tuan CONG LE


We want to enable managing quota from web admin interface. We will first propose an API for managing default values on the server.

Here is propose APIs:
{code:none}
curl -XGET http://127.0.0.1:8000/quota/size
4096000000

curl -XDELETE http://127.0.0.1:8000/quota/size

curl -XPUT http://127.0.0.1:8000/quota/size -d '1024000000' 


curl -XGET http://127.0.0.1:8000/quota/count
1000000

curl -XDELETE http://127.0.0.1:8000/quota/count

curl -XPUT http://127.0.0.1:8000/quota/count -d '100000'
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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