Commit 95a0b645 authored by Georgios D. Tsoukalas's avatar Georgios D. Tsoukalas

astakos: add version v1.0 in account API URLs

parent ac17257f
......@@ -35,5 +35,5 @@ from django.conf.urls.defaults import patterns, url
urlpatterns = patterns(
'astakos.api.tokens',
url(r'tokens/?$', 'authenticate'),
url(r'^v1.0/tokens/?$', 'authenticate'),
)
......@@ -31,10 +31,10 @@
# interpreted as representing official policies, either expressed
# or implied, of GRNET S.A.
from django.conf.urls.defaults import patterns, url
from django.conf.urls.defaults import patterns, url, include
urlpatterns = patterns(
astakos_account_v1_0 = patterns(
'astakos.api.quotas',
url(r'^quotas/?$', 'quotas', name="astakos-api-quotas"),
url(r'^service_quotas/?$', 'service_quotas'),
......@@ -45,6 +45,11 @@ urlpatterns = patterns(
url(r'^commissions/(?P<serial>\d+)/action/?$', 'serial_action'),
)
urlpatterns = patterns(
'',
url(r'^v1.0/', include(astakos_account_v1_0)),
)
urlpatterns += patterns(
'astakos.api.user',
url(r'^feedback/?$', 'send_feedback'),
......
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