From 4932c8f348e90106732739e233674c454c79b62a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 9 Nov 2015 22:34:15 +0000 Subject: [PATCH] added missing doc --- html/documentation.dox | 19 +++++++++++++++++++ html/makefile.am | 2 -- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/html/documentation.dox b/html/documentation.dox index d978de2..239470f 100644 --- a/html/documentation.dox +++ b/html/documentation.dox @@ -126,3 +126,22 @@ @endmsc */ + +/** @page api Server API Calls + + @tableofcontents + + List of server REST API calls. SafeChat server implement s REST + API, so that all API calls are in the following form, where + parameters and values are url encoded: + + @code + https://safechat.ch/api-call.php?param1=value1¶m2=value2[...] + @endcode + + So for method get() a valid call could be: + @code + https://safechat.ch/get.php?start=100 + @endcode + +*/ diff --git a/html/makefile.am b/html/makefile.am index d9cc98f..bf6cd82 100644 --- a/html/makefile.am +++ b/html/makefile.am @@ -3,8 +3,6 @@ ## 1 2 3 4 5 6 7 8 ## 45678901234567890123456789012345678901234567890123456789012345678901234567890 -#EXTRA_DIST = ${www_DATA} - wwwdir = ${pkgdatadir}/html dist_www_DATA = index.html chat.html newuser.html safechat.js \ jquery.js openpgp.js jquery.cssemoticons.js \