Merge pull request #520 from nextcloud/switch-to-ocsv2

Switch to OCSv2
This commit is contained in:
Morris Jobke
2017-07-05 10:10:13 +02:00
committed by GitHub

View File

@@ -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: *<nextcloud_base_url>/ocs/v1.php/apps/files_sharing/api/v1*
The base URL for all calls to the share API is: *<nextcloud_base_url>/ocs/v2.php/apps/files_sharing/api/v1*
All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.