Mobile editor docs

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-09-04 15:45:26 +02:00
commit 9c5c7a67bc
No known key found for this signature in database
GPG key ID: F941078878347C0C

14
docs/mobile_editor.md Normal file
View file

@ -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.