mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Switch to OCSv2
All Nextcloud versions support OCSv2 so our documentation should recommend to use this API which result in a more restful behaviour.
This commit is contained in:
parent
b42988a244
commit
8dc968c36a
@ -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``.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user