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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to