Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1
-
None
-
None
Description
Endpoint should be
/quota/users/{user}/size
and
/quota/users/{user}/count
and should support PUT, DELETE and GET verbs.
GET should return hierarchical values like :
{ default : { size: "12345" }, domain : { count : "12345" }, user : { size : "-1", //for infinity count : "99999" }, computed : { size : "-1", count: "99999" } }
"-1" should be considered a special value meaning infinity.
Setting a quota that is smaller that current user usage should return a 409 Conflict response.