From b88f926b4508be1c8b3b8bdd95ca2a36311d4f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Tue, 4 Jul 2017 14:05:58 +0200 Subject: [PATCH] Switch to OCSv2 All Nextcloud versions support OCSv2 so our documentation should recommend to use this API which result in a more restful behaviour. --- developer_manual/core/ocs-share-api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/core/ocs-share-api.rst b/developer_manual/core/ocs-share-api.rst index 58ab1e68c..8b127a933 100644 --- a/developer_manual/core/ocs-share-api.rst +++ b/developer_manual/core/ocs-share-api.rst @@ -5,7 +5,7 @@ OCS Share API The OCS Share API allows you to access the sharing API from outside over pre-defined OCS calls. -The base URL for all calls to the share API is: */ocs/v1.php/apps/files_sharing/api/v1* +The base URL for all calls to the share API is: */ocs/v2.php/apps/files_sharing/api/v1* All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.