summaryrefslogtreecommitdiff
path: root/mirrors/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-11-10 14:13:34 -0600
committerDan McGee <dan@archlinux.org>2012-11-10 14:14:25 -0600
commit4ab5d6947795f1fef0d38601ec7ad3ca5f62173e (patch)
treeeb11aa62ee70c392e58234b967be3800bb3980e3 /mirrors/urls.py
parent554df3f8cfdce7a41904ac985dc2e6f3d43c358d (diff)
Add mirror extended status JSON view
When asking for status for a single mirror, we can include logs from the past 24 hours in addition to the normal information we provide. This is slated for usage by a frontend graph still to come, similar to those on the NTP pool website. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/urls.py')
-rw-r--r--mirrors/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/urls.py b/mirrors/urls.py
index bb4eb969..857e99e2 100644
--- a/mirrors/urls.py
+++ b/mirrors/urls.py
@@ -6,6 +6,7 @@ urlpatterns = patterns('mirrors.views',
(r'^status/json/$', 'status_json', {}, 'mirror-status-json'),
(r'^status/tier/(?P<tier>\d+)/$', 'status', {}, 'mirror-status-tier'),
(r'^(?P<name>[\.\-\w]+)/$', 'mirror_details'),
+ (r'^(?P<name>[\.\-\w]+)/json/$', 'mirror_details_json'),
)
# vim: set ts=4 sw=4 et: