Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / api / util.py @ 49005665

History | View | Annotate | Download (6.6 kB)

# Date Author Comment
bd20edc6 05/28/2013 06:21 pm Giorgos Korfiatis

astakos: Handle datetime in API json response

Automatically convert a datetime to string using isoformat from
snf_django.lib.api.utils

7ac2131c 05/23/2013 04:30 pm Sofia Papagiannaki

astakos: provide get_endpoints api call

67920ea0 05/23/2013 02:07 pm Giorgos Korfiatis

astakos: Strengthen authentication in user_from_token

All user-related API calls make use of this decorator to authenticate
the user. Previously it used to check only for the existence of the token;
now it makes all checks previously found in the `authenticate' API call....

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

ad730cc5 04/23/2013 04:12 pm Giorgos Korfiatis

astakos: Validate input of quota-related API calls

18f21257 04/08/2013 01:41 pm Giorgos Korfiatis

API calls for quotas and commissions