summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/api.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-06-19 18:28:22 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-06-19 18:28:22 +0200
commita0a04dd66690bd43e03b07f80b82f7201615ae81 (patch)
treefc7aa23d7a23097b0a41b70dd4be704efc256f64 /hyperkitty/templates/api.html
parent6ada7fb3f6842998e274d06900d353142992c622 (diff)
downloadhyperkitty-a0a04dd66690bd43e03b07f80b82f7201615ae81.tar.gz
hyperkitty-a0a04dd66690bd43e03b07f80b82f7201615ae81.tar.xz
hyperkitty-a0a04dd66690bd43e03b07f80b82f7201615ae81.zip
Add the tags to the REST API
Diffstat (limited to 'hyperkitty/templates/api.html')
-rw-r--r--hyperkitty/templates/api.html17
1 files changed, 14 insertions, 3 deletions
diff --git a/hyperkitty/templates/api.html b/hyperkitty/templates/api.html
index 750c69b..7537381 100644
--- a/hyperkitty/templates/api.html
+++ b/hyperkitty/templates/api.html
@@ -38,7 +38,7 @@ retrieve the information known about all the mailing-lists.
</a>
</p>
</div>
- <div class="even" style="padding-left: 1em">
+ <div class="odd" style="padding-left: 1em">
<h3>Emails <a>/api/email/&lt;list name&gt;/&lt;Message-ID&gt;</a></h3>
<p>
Using the address /api/email/&lt;list name&gt;/&lt;Message-ID&gt; you will be able to
@@ -49,7 +49,7 @@ retrieve the information known about a specific email on the specified mailing-l
</a>
</p>
</div>
- <div class="odd" style="padding-left: 1em">
+ <div class="even" style="padding-left: 1em">
<h3>Threads <a>/api/thread/&lt;list name&gt;/&lt;ThreadID&gt;</a></h3>
<p>
Using the address /api/thread/&lt;list name&gt;/&lt;Message-ID&gt; you will be able to
@@ -60,7 +60,7 @@ retrieve the all the email for a specific thread on the specified mailing-list.
</a>
</p>
</div>
- <div class="even" style="padding-left: 1em">
+ <div class="odd" style="padding-left: 1em">
<h3>Search <a>/api/search/&lt;list name&gt;/&lt;field&gt;/&lt;keyword&gt;</a></h3>
<p>
Using the address /api/search/&lt;list name&gt;/&lt;field&gt;/&lt;keyword&gt; you will be able to
@@ -78,4 +78,15 @@ search for all emails of the specified mailing-list containing the provided keyw
</a>
</p>
</div>
+ <div class="even" style="padding-left: 1em">
+ <h3>Tags <a>/api/tag/</a></h3>
+ <p>
+Using the address /api/tag/ you will be able to
+retrieve the list of tags.
+ </p>
+ <p> For example: <a href="{% url 'api_tag' %}?format=api">
+ {% url 'api_tag' %}
+ </a>
+ </p>
+ </div>
{% endblock %}