Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/mobile_editor.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/mobile_editor.md b/docs/mobile_editor.md
new file mode 100644
index 00000000..c0c013ab
--- /dev/null
+++ b/docs/mobile_editor.md
@@ -0,0 +1,14 @@
+# Mobile Editor OCS API
+
+This API is used to obtain a link for a document to load from mobile apps
+
+## Creating the link
+
+```
+<server>/ocs/v2.php/apps/richdocuments/api/v1/document
+```
+
+A `POST` request to this endpoint with the `fileid` parameter will
+preprare the server to serve this document.
+
+The returned xml or json will has an url to open in a webview.