summaryrefslogtreecommitdiffstats
path: root/templates/api.html
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-03-31 16:23:01 +0200
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-03-31 16:23:01 +0200
commitda61e8b5a39d246e3f7535165cbfb54c997bef37 (patch)
tree04ff99517e2826637be719de46c51326490bb705 /templates/api.html
parent9f729a6c8fa5fbbe16f04c44dee360d0fbd5226b (diff)
parent85d040687fc21f13f3a124eb88f154027e052da1 (diff)
downloadhyperkitty-da61e8b5a39d246e3f7535165cbfb54c997bef37.tar.gz
hyperkitty-da61e8b5a39d246e3f7535165cbfb54c997bef37.tar.xz
hyperkitty-da61e8b5a39d246e3f7535165cbfb54c997bef37.zip
Merge
Diffstat (limited to 'templates/api.html')
-rw-r--r--templates/api.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/api.html b/templates/api.html
index ba3abb4..afabbb4 100644
--- a/templates/api.html
+++ b/templates/api.html
@@ -56,4 +56,24 @@ retrieve the all the email for a specific thread on the specified mailing-list.
</a>
</p>
</div>
+ <div class="even" style="padding-left: 1em">
+ <h3>Search <a>/api/search/&lt;list name&gt;/&lt;field&gt;/&lt;keyword&gt;</a></h3>
+ <p>
+ </p>
+ <p>
+Using the address /api/search/&lt;list name&gt;/&lt;field&gt;/&lt;keyword&gt; you will be able to
+search for all emails of the specified mailing-list containing the provided keyword in the given field.
+ </p>
+ <p>The list of available field is:</p>
+ <ul>
+ <li>From</li>
+ <li>Subject</li>
+ <li>Content</li>
+ <li>SubjectContent</li>
+ </ul>
+ <p> For example: <a href="/api/search/devel@fp.o/From/pingoured">
+ /api/search/devel@fp.o/From/pingoured
+ </a>
+ </p>
+ </div>
{% endblock %}