From 9c5c7a67bc10feb8e1a77516f7638cb69c6988a0 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 4 Sep 2018 15:45:26 +0200 Subject: Mobile editor docs Signed-off-by: Roeland Jago Douma --- docs/mobile_editor.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/mobile_editor.md (limited to 'docs') 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 + +``` +/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. -- cgit v1.2.3