summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index c93a575..2b0b302 100644
--- a/urls.py
+++ b/urls.py
@@ -44,6 +44,7 @@ urlpatterns = patterns('',
url(r'^mockup/tag\/(?P<tag>.*)$', 'views.mockup.search_tag'),
# REST API
+ url(r'^api/$', 'views.pages.api'),
url(r'^api/email\/(?P<mlist_fqdn>.*@.*)\/(?P<messageid>.*)/', EmailResource.as_view()),
url(r'^api/thread\/(?P<mlist_fqdn>.*@.*)\/(?P<threadid>.*)/', ThreadResource.as_view()),
# Uncomment the admin/doc line below to enable admin documentation: