james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuan CONG LE (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1961) Quota APIs for web admin server
Date Fri, 10 Mar 2017 03:46:38 GMT
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


Mime
View raw message