update capabilities

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2018-05-28 12:28:08 +02:00
parent af178ef19a
commit daba042d26
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 5 additions and 1 deletions

View File

@ -46,8 +46,12 @@ class Capabilities implements ICapability {
$capabilities = ['ocm' => $capabilities = ['ocm' =>
[ [
'enabled' => true, 'enabled' => true,
'api-version' => '2.0-draft', 'api-version' => '1.0-proposal1',
'end-point' => substr($url, 0, strrpos($url, '/')), 'end-point' => substr($url, 0, strrpos($url, '/')),
'share-types' => ['file'],
'protocol' => [
'webdav' => '/public.php/webdav/',
]
] ]
]; ];