Feature #3341

Quotas API at /astakos/quotas

Added by Vangelis Koukis over 11 years ago.

Status:Assigned Start date:03/01/2013
Priority:High Due date:
Assignee:Kostas Papadimitriou % Done:


Category:Astakos Spent time: -
Target version:0.14.0


Create a standard user-accessible Quotas API endpoint at /astakos/quotas.
Use it across Synnefo clients.

Input: A standard X-Auth-Token header.
Output: The quotas for the specified user.

example JSON response, please refine:

    "quotas": {
        "cyclades.vm": {"limit": 10, "current": 5},
        "cyclades.network": {"limit": 5, "current": 1}

Replace existing /ui/userquota for the Cyclades UI.
Please enhance the above description as necessary.

The quotas API will be proxied by each service under /astakos, along with the rest of the Astakos user-visible API.

Related issues

blocked by Synnefo - Feature #3344: Define and manage resources as part of Astakos Resolved 03/01/2013

Also available in: Atom PDF