Skip to content

Commit 04153d8

Browse files
committed
Advertise any other protocol in the discovery endpoint
1 parent 3b41933 commit 04153d8

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

spec.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,12 @@ definitions:
329329
The top-level WebDAV path at this endpoint. In order to access
330330
a remote shared resource, implementations MAY use this path
331331
as a prefix, or as the full path (see sharing examples).
332-
example: /remote/dav/ocm/
333332
webapp:
334333
type: string
335334
description: |
336335
The top-level path for web apps at this endpoint. This value
337336
is provided for documentation purposes, and it SHALL NOT
338337
be intended as a prefix for share requests.
339-
example: /app/ocm/
340338
datatx:
341339
type: string
342340
description: |
@@ -345,7 +343,19 @@ definitions:
345343
NOT be intended as a prefix. In addition, implementations
346344
are expected to execute the transfer using WebDAV as
347345
the wire protocol.
348-
example: /remote/dav/ocm/
346+
patternProperties:
347+
"^.*$":
348+
type: string
349+
description: |
350+
Any additional protocol supported for this resource type MAY
351+
be advertised here, where the value corresponds to the top-level
352+
URI to be used for that protocol.
353+
example:
354+
protocols:
355+
webdav: "/remote/dav/ocm/"
356+
webapp: "/app/ocm/"
357+
datatx: "/remote/dav/ocm/"
358+
talk: "/apps/spreed/api/"
349359
capabilities:
350360
type: array
351361
description: |

0 commit comments

Comments
 (0)