Revision 5b33b8e5 astakosclient/astakosclient/__init__.py
b/astakosclient/astakosclient/__init__.py | ||
---|---|---|
324 | 324 |
return self._call_astakos(token, "/astakos/api/quotas") |
325 | 325 |
|
326 | 326 |
# ---------------------------------- |
327 |
# GET "/astakos/api/service_quotas" |
|
328 |
def get_service_quotas(self, token): |
|
329 |
"""Get all quotas for resources associated with the service |
|
330 |
|
|
331 |
Keyword arguments: |
|
332 |
token -- service's token (string) |
|
333 |
|
|
334 |
In case of success return a dict of dicts of dicts with current quotas |
|
335 |
for all users. |
|
336 |
Otherwise raise an AstakosClientException |
|
337 |
|
|
338 |
""" |
|
339 |
return self._call_astakos(token, "/astakos/api/service_quotas") |
|
340 |
|
|
341 |
# ---------------------------------- |
|
327 | 342 |
# POST "/astakos/api/commisions" |
328 | 343 |
def issue_commission(self, token, request): |
329 | 344 |
"""Issue a commission |
Also available in: Unified diff