History | View | Annotate | Download (6.7 kB)
astakos: Lift old-style services to components
Add model Component and migrate services along with their tokenand UI URL to this new model. Rename service to component whereneeded.
Add field service_type in Resource and fill it based on the nameof the service that used to own the resource.
astakos: modifications in POST /tokens (authenticate) api call
astakos: Handle datetime in API json response
Automatically convert a datetime to string using isoformat fromsnf_django.lib.api.utils
astakos: provide get_endpoints api call
astakos: Strengthen authentication in user_from_token
All user-related API calls make use of this decorator to authenticatethe 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....
astakos: WIP move all api calls under ``/astakos/api``
Refs: #3340
astakos: Change user_for_token decorator
user_for_token after successful user authenticationsets the request user attributeThe wrapped methods no more need the ``user`` argument:they can get the token holder by the request object
astakos: rename api utility methods
astakos: Validate input of quota-related API calls
API calls for quotas and commissions