list-all-quota-details-in-office-team-user-hierarchical-structure
This method displays office/team/user quotas in hierarchy for optimal read and display speed.
quota is the amount of quotas.
limit is the amount to which the quotas reset after the specified period (see add-quota-to-portal).
remaining is the amount of quota currently remaining.
You can use an additional hideEmpty=true parameter in the request - the response will then not display any users, teams or offices that have no quotas setup.
Request
http://www.idibu.com/ws/rest/v1/quotas/(board id)/all?hash=YOUR_HASH
Response
<idibu generator="idibu" version="1.0">
<response>
<offices>
<office>
<team-id>35000000</team-id>
<quota>808</quota>
<limit>808</limit>
<remaining>808</remaining>
<posted>0</posted>
<name>Example office</name>
<teams>
<team>
<team-id>35000001</team-id>
<quota>5</quota>
<limit>5</limit>
<remaining>5</remaining>
<posted>0</posted>
<name>Example team</name>
<users>
<user>
<user-id>3</user-id>
<quota>200</quota>
<limit/>
<remaining>200</remaining>
<posted>0</posted>
<name>Example user1</name>
</user>
<user>
<user-id>80</user-id>
<quota/>
<limit/>
<remaining/>
<posted/>
<name>Example user2</name>
</user>
</users>
</team>
</teams>
</office>
</offices>
<unassigned>
<users>
<user>
<user-id>25</user-id>
<quota/>
<limit/>
<remaining/>
<posted/>
<name>no team/office user1</name>
</user>
<user>
<user-id>153</user-id>
<quota>12</quota>
<limit/>
<remaining>5</remaining>
<posted>7</posted>
<name>no team/office user2</name>
</user>
</users>
</unassigned>
</response>
<status>success</status>
</idibu>