diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-05-28 12:28:08 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-02 11:29:27 +0200 |
commit | daba042d269bfd701c78e014c0ad7794975d2133 (patch) | |
tree | c101b7a26e920b86c208b502cd77c61380ef17c7 /apps/cloud_federation_api/lib | |
parent | af178ef19a8ead9943efe9b13de8fd3ec96bf447 (diff) | |
download | nextcloud-server-daba042d269bfd701c78e014c0ad7794975d2133.tar.gz nextcloud-server-daba042d269bfd701c78e014c0ad7794975d2133.zip |
update capabilities
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/cloud_federation_api/lib')
-rw-r--r-- | apps/cloud_federation_api/lib/Capabilities.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/cloud_federation_api/lib/Capabilities.php b/apps/cloud_federation_api/lib/Capabilities.php index 17d3b2cfaf3..15417f85222 100644 --- a/apps/cloud_federation_api/lib/Capabilities.php +++ b/apps/cloud_federation_api/lib/Capabilities.php @@ -46,8 +46,12 @@ class Capabilities implements ICapability { $capabilities = ['ocm' => [ 'enabled' => true, - 'api-version' => '2.0-draft', + 'api-version' => '1.0-proposal1', 'end-point' => substr($url, 0, strrpos($url, '/')), + 'share-types' => ['file'], + 'protocol' => [ + 'webdav' => '/public.php/webdav/', + ] ] ]; |