Skip to content

Commit

Permalink
Removed URIs from protocols on the discovery endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Mar 28, 2023
1 parent 2ca6ac6 commit 3e4abb1
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,34 +263,27 @@ definitions:
name:
type: string
description: |
A supported resource type (file, folder, calendar, contact, ...)
A supported resource type (file, folder, calendar, contact, ...). At least
`file` MUST be supported to be OCM compliant.
example: file
shareTypes:
type: array
description: The supported recipient share types
description: |
The supported recipient share types. At least `user` MUST be supported
to be OCM compliant.
items:
type: string
enum: ["user", "group", "federation"]
example: ["user"]
protocols:
type: object
type: array
description: |
The supported protocols to access shares at this endpoint
anyOf:
- properties:
webdav:
type: string
description: The top-level WebDAV endpoint
example: https://my-cloud-storage.org/ocm
- properties:
webapp:
type: string
description: The top-level endpoint for web apps
example: https://my-cloud-storage.org
- properties:
datatx:
type: string
description: The top-level endpoint for data transfers
example: https://my-cloud-storage.org
The supported protocols to access shares at this endpoint. At least `webdav`
MUST be supported to be OCM compliant.
items:
type: string
enum: ["webdav", "webapp", "datatx"]
example: ["webdav"]
NewShare:
type: object
required:
Expand Down

0 comments on commit 3e4abb1

Please sign in to comment.