From 4935c17ef310732a5e339ff5faa6c33bfde298b6 Mon Sep 17 00:00:00 2001
From: Aurélien Bompard
Date: Thu, 6 Sep 2012 12:50:21 +0200
Subject: Fix leftover hardcoded URLs
---
hyperkitty/templates/api.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'hyperkitty/templates/api.html')
diff --git a/hyperkitty/templates/api.html b/hyperkitty/templates/api.html
index 85f3cf0..0fa38c9 100644
--- a/hyperkitty/templates/api.html
+++ b/hyperkitty/templates/api.html
@@ -36,8 +36,8 @@
Using the address /api/email/<list name>/<Message-ID> you will be able to
retrieve the information known about a specific email on the specified mailing-list.
- For example:
- /api/email/devel@fp.o/<1312985457.28933.34.camel@ankur.pc>/
+ For example:
+ {% url api_email mlist_fqdn='devel@fp.o', hashid='13129854572893334' %}
@@ -49,8 +49,8 @@ retrieve the information known about a specific email on the specified mailing-l
Using the address /api/thread/<list name>/<Message-ID> you will be able to
retrieve the all the email for a specific thread on the specified mailing-list.
- For example:
- /api/email/devel@fp.o/1/
+ For example:
+ {% url api_thread mlist_fqdn='devel@fp.o', threadid='13129854572893334' %}
@@ -69,8 +69,8 @@ search for all emails of the specified mailing-list containing the provided keyw
Content
SubjectContent
- For example:
- /api/search/devel@fp.o/From/pingoured
+ For example:
+ {% url api_search mlist_fqdn='devel@fp.o', field='From', keyword='pingoured' %}
--
cgit