wsd/reference.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
New commits: commit 7d42eed2364cdf15ee0e35d35a9c248b3e33866a Author: Jan Holesovsky <ke...@collabora.com> AuthorDate: Thu Dec 20 12:40:24 2018 +0100 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Thu Dec 20 13:01:42 2018 +0100 Document /hosting/capabilities. Change-Id: Ib18d2cc44f0e6b36d9628039457dc09f1d1b4f62 Reviewed-on: https://gerrit.libreoffice.org/65486 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> diff --git a/wsd/reference.md b/wsd/reference.md index 70eeb9609..78165b836 100644 --- a/wsd/reference.md +++ b/wsd/reference.md @@ -170,3 +170,21 @@ Hosts should not save the file to storage in such cases and respond with HTTP 40 When the user chooses "overwrite" when asked how to resolve the conflict, LibreOffice will attempt one more save operation, but this time it will lack the X-LOOL-WOPI-Timestamp header, which means "save regardless of state of the file". +/hosting/capabilities +--------------------- + +With new features, it is important for the integrations to know if the Online they are using is supporting them. For this reason, we have introduced a /hosting/capabilities endpoint that returns a JSON with information about the availability of various features. + +Currently the following are present: + +* convert-to: {available: true/false } + + The property *available* is *true* when the convert-to functionality is present and correctly accessible from the WOPI host. + +* hasTemplateSaveAs: true/false + + is *true* when the Online supports the TemplateSaveAs CheckFileInfo property. + +* hasMobileSupport: true/false + + is *true* when the Online has a good support for the mobile devices and responsive design. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits