diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-09-04 16:45:26 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-09-04 16:45:26 +0300 |
commit | 9c5c7a67bc10feb8e1a77516f7638cb69c6988a0 (patch) | |
tree | 1d13b7371c4626256d0eecc466b46e92ee27ffb7 /docs | |
parent | de083a1afc14e3f00fcacfa08bdabb8f1edb4d17 (diff) |
Mobile editor docs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/mobile_editor.md | 14 |
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. |