[Libreoffice-commits] online.git: loleaflet/README loolwsd/reference.txt
Miklos Vajna
vmiklos at collabora.co.uk
Tue Oct 20 09:11:05 PDT 2015
loleaflet/README | 1 +
loolwsd/reference.txt | 7 +++++++
2 files changed, 8 insertions(+)
New commits:
commit 71ce604adb9a3471d0a099a7299d5030953dd3fd
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Oct 20 18:10:40 2015 +0200
loolwsd: add initial reference.txt to document HTTP POST API
diff --git a/loleaflet/README b/loleaflet/README
index c7baa1a..57f09c8 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -57,6 +57,7 @@ API & events
######################################################################
# See /loleaflet/reference.html for a better formated documentation. #
+# See /loolwsd/reference.txt for the HTTP API documentation. #
######################################################################
Search:
diff --git a/loolwsd/reference.txt b/loolwsd/reference.txt
new file mode 100644
index 0000000..bd733b1
--- /dev/null
+++ b/loolwsd/reference.txt
@@ -0,0 +1,7 @@
+LibreOffice On-Line API
+=======================
+
+Document conversion:
+ - API: HTTP POST to /convert-to
+ - parameters: format=<format> (see e.g. "png", "pdf" or "txt"), and the file itself in the payload
+ - example: curl -F "data=@test.txt" -F "format=pdf" http://localhost:9980/convert-to
More information about the Libreoffice-commits
mailing list