summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-03-28 21:41:03 +0200
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-03-28 21:41:03 +0200
commitd0382f6e6b681d84e6f048b725741bb9ee1a946c (patch)
tree67749ad4e3ea7ec1ced2e709ef2580bac837c4d7 /urls.py
parent4650f5f405e8c71fa96e88cde546e096bb3a9811 (diff)
downloadhyperkitty-d0382f6e6b681d84e6f048b725741bb9ee1a946c.tar.gz
hyperkitty-d0382f6e6b681d84e6f048b725741bb9ee1a946c.tar.xz
hyperkitty-d0382f6e6b681d84e6f048b725741bb9ee1a946c.zip
Add a /api information page
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: