Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / api @ 3dfb68fe

Name Size
__init__.py 6.4 kB
quotas.py 9.8 kB
service.py 2.7 kB
urls.py 2.4 kB
user.py 4.3 kB
util.py 5.5 kB

Latest revisions

# Date Author Comment
6609821f 05/15/2013 06:13 pm Sofia Papagiannaki

astakos: change authenticate api call

``/astakos/api/authenticate`` call
does not include any more resource usage in the reply.
(``usage`` request parameter has become obsolete)
The services in order to get the resource usage should call
``/astakos/api/quotas`` instead.

e1feace1 05/14/2013 11:19 am Giorgos Korfiatis

astakos: Fix call to util function send_feedback

47a8481f 05/10/2013 01:21 pm Sofia Papagiannaki

astakos: include resource presentation info in authenticate response

If option parameter ``usage`` is passed then the response should
contain also the resource presentation information
(as it used to be in the past)

b095201e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove astakos.im.api module

Replace all AstakosCallpoint references

78c3a39c 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove user argument from the api methods

User request.user field (set by user_for_token decorator)

79b5d61b 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: WIP move all api calls under ``/astakos/api``

Refs: #3340

276f454e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: Change user_for_token decorator

user_for_token after successful user authentication
sets the request user attribute
The wrapped methods no more need the ``user`` argument:
they can get the token holder by the request object

7f313da1 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: rename api utility methods

6f1d4d03 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: fix user api utility calls

2931c601 05/02/2013 04:36 pm Kostas Papadimitriou

astakos: Proper string type check

using basestring also handles unicode objects

View revisions

Also available in: Atom