Commit 03a9f436 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

docs: Update astakos api paths

parent 5080265f
......@@ -67,7 +67,7 @@ Astakos
* API-related changes:
* Implemented API calls for quota, resources, and commissions.
* Moved all API calls under '/astakos/api'. Kept also previous locations
* Moved all API calls under '/account/v1.0'. Kept also previous locations
for backwards compatibility.
* Changes in views:
......
......@@ -89,11 +89,11 @@ Authenticate
Authenticate API requests require a token. An application that wishes to connect to Astakos, but does not have a token, should redirect the user to ``/login``. (see :ref:`authentication-label`)
============================= ========= ==================
Uri Method Description
============================= ========= ==================
``/astakos/api/authenticate`` GET Authenticate user using token
============================= ========= ==================
============================== ========= ==================
Uri Method Description
============================== ========= ==================
``/account/v1.0/authenticate`` GET Authenticate user using token
============================== ========= ==================
|
......@@ -149,11 +149,11 @@ Send feedback
Post user feedback.
========================= ========= ==================
Uri Method Description
========================= ========= ==================
``/astakos/api/feedback`` POST Send feedback
========================= ========= ==================
========================== ========= ==================
Uri Method Description
========================== ========= ==================
``/account/v1.0/feedback`` POST Send feedback
========================== ========= ==================
|
......@@ -192,11 +192,11 @@ Get User catalogs
Return a json formatted dictionary containing information about a specific user
================================ ========= ==================
Uri Method Description
================================ ========= ==================
``/astakos/api/user_catalogs`` POST Get 2 catalogs containing uuid to displayname mapping and the opposite
================================ ========= ==================
=============================== ========= ==================
Uri Method Description
=============================== ========= ==================
``/account/v1.0/user_catalogs`` POST Get 2 catalogs containing uuid to displayname mapping and the opposite
=============================== ========= ==================
|
......@@ -253,11 +253,11 @@ Get User catalogs
Return a json formatted dictionary containing information about a specific user
====================================== ========= ==================
Uri Method Description
====================================== ========= ==================
``/astakos/api/service/user_catalogs`` POST Get 2 catalogs containing uuid to displayname mapping and the opposite
====================================== ========= ==================
======================================= ========= ==================
Uri Method Description
======================================= ========= ==================
``/account/v1.0/service/user_catalogs`` POST Get 2 catalogs containing uuid to displayname mapping and the opposite
======================================= ========= ==================
|
......
......@@ -90,7 +90,7 @@ Cloud service user
Alice requests a specific resource from a cloud service ex. Pithos. In the
request supplies the `X-Auth-Token` to identify whether she is eligible to
perform the specific task. The service contacts Astakos through its
``/astakos/api/authenticate`` api call (see :ref:`authenticate-api-label`)
``/account/v1.0/authenticate`` api call (see :ref:`authenticate-api-label`)
providing the specific ``X-Auth-Token``. Astakos checkes whether the token
belongs to an active user and it has not expired and returns a dictionary
containing user related information. Finally the service uses the ``uniq``
......
......@@ -10,7 +10,7 @@ virtual machines offered by Cyclades.
Get Resource List
.................
**GET** /astakos/api/resources
**GET** /account/v1.0/resources
This call returns a description for each resource available in the system.
The response consists of a dictionary, indexed by the resource name, which
......@@ -59,7 +59,7 @@ takes place.
Get Quotas
..........
**GET** /astakos/api/quotas
**GET** /account/v1.0/quotas
==================== =========================
Request Header Name Value
......@@ -119,7 +119,7 @@ Status Description
Get Quotas per Service
......................
**GET** /astakos/api/service_quotas
**GET** /account/v1.0/service_quotas
==================== ============================
Request Header Name Value
......@@ -195,7 +195,7 @@ it (or *rejecting*, if the allocation did not actually take place).
Issue Commission
................
**POST** /astakos/api/commissions
**POST** /account/v1.0/commissions
==================== ============================
Request Header Name Value
......@@ -294,7 +294,7 @@ also included.
Get Pending Commissions
.......................
**GET** /astakos/api/commissions
**GET** /account/v1.0/commissions
==================== ============================
Request Header Name Value
......@@ -326,7 +326,7 @@ Status Description
Get the Description of a Commission
...................................
**GET** /astakos/api/commissions/<serial>
**GET** /account/v1.0/commissions/<serial>
==================== ============================
Request Header Name Value
......@@ -374,7 +374,7 @@ Status Description
Accept or Reject a Commission
.............................
**POST** /astakos/api/commissions/<serial>/action
**POST** /account/v1.0/commissions/<serial>/action
==================== ============================
Request Header Name Value
......@@ -416,7 +416,7 @@ Status Description
Accept or Reject Multiple Commissions
.....................................
**POST** /astakos/api/commissions/action
**POST** /account/v1.0/commissions/action
==================== ============================
Request Header Name Value
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment