Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
03a9f436
Commit
03a9f436
authored
Jun 03, 2013
by
Giorgos Korfiatis
Browse files
docs: Update astakos api paths
parent
5080265f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Changelog
View file @
03a9f436
...
...
@@ -67,7 +67,7 @@ Astakos
* API-related changes:
* Implemented API calls for quota, resources, and commissions.
* Moved all API calls under '/a
stakos/api
'. Kept also previous locations
* Moved all API calls under '/a
ccount/v1.0
'. Kept also previous locations
for backwards compatibility.
* Changes in views:
...
...
docs/astakos-api-guide.rst
View file @
03a9f436
...
...
@@ -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
============================= ========= ==================
``/a
stakos/api
/authenticate`` GET Authenticate user using token
============================= ========= ==================
=============================
=
========= ==================
Uri
Method Description
=============================
=
========= ==================
``/a
ccount/v1.0
/authenticate`` GET Authenticate user using token
=============================
=
========= ==================
|
...
...
@@ -149,11 +149,11 @@ Send feedback
Post user feedback.
========================= ========= ==================
Uri Method Description
========================= ========= ==================
``/a
stakos/api
/feedback``
POST Send feedback
========================= ========= ==================
=========================
=
========= ==================
Uri
Method Description
=========================
=
========= ==================
``/a
ccount/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
===============================
=
========= ==================
``/a
stakos/api
/user_catalogs``
POST Get 2 catalogs containing uuid to displayname mapping and the opposite
===============================
=
========= ==================
=============================== ========= ==================
Uri Method Description
=============================== ========= ==================
``/a
ccount/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
====================================== ========= ==================
``/a
stakos/api
/service/user_catalogs`` POST Get 2 catalogs containing uuid to displayname mapping and the opposite
====================================== ========= ==================
======================================
=
========= ==================
Uri
Method Description
======================================
=
========= ==================
``/a
ccount/v1.0
/service/user_catalogs`` POST Get 2 catalogs containing uuid to displayname mapping and the opposite
======================================
=
========= ==================
|
...
...
docs/astakos.rst
View file @
03a9f436
...
...
@@ -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
``/a
stakos/api
/authenticate`` api call (see :ref:`authenticate-api-label`)
``/a
ccount/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``
...
...
docs/quota-api-guide.rst
View file @
03a9f436
...
...
@@ -10,7 +10,7 @@ virtual machines offered by Cyclades.
Get Resource List
.................
**GET** /a
stakos/api
/resources
**GET** /a
ccount/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** /a
stakos/api
/quotas
**GET** /a
ccount/v1.0
/quotas
==================== =========================
Request Header Name Value
...
...
@@ -119,7 +119,7 @@ Status Description
Get Quotas per Service
......................
**GET** /a
stakos/api
/service_quotas
**GET** /a
ccount/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** /a
stakos/api
/commissions
**POST** /a
ccount/v1.0
/commissions
==================== ============================
Request Header Name Value
...
...
@@ -294,7 +294,7 @@ also included.
Get Pending Commissions
.......................
**GET** /a
stakos/api
/commissions
**GET** /a
ccount/v1.0
/commissions
==================== ============================
Request Header Name Value
...
...
@@ -326,7 +326,7 @@ Status Description
Get the Description of a Commission
...................................
**GET** /a
stakos/api
/commissions/<serial>
**GET** /a
ccount/v1.0
/commissions/<serial>
==================== ============================
Request Header Name Value
...
...
@@ -374,7 +374,7 @@ Status Description
Accept or Reject a Commission
.............................
**POST** /a
stakos/api
/commissions/<serial>/action
**POST** /a
ccount/v1.0
/commissions/<serial>/action
==================== ============================
Request Header Name Value
...
...
@@ -416,7 +416,7 @@ Status Description
Accept or Reject Multiple Commissions
.....................................
**POST** /a
stakos/api
/commissions/action
**POST** /a
ccount/v1.0
/commissions/action
==================== ============================
Request Header Name Value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment