Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 38 additions & 4 deletions spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,53 @@ definitions:
properties:
enabled:
type: boolean
description: Whether the OCM service is enabled at this endpoint
description: Whether the OCM service is enabled at this endpoint.
apiVersion:
type: string
description: The OCM API version this endpoint supports
description: The OCM API version this endpoint supports.
example: 1.1.0
endPoint:
type: string
description: The URI of the OCM API available at this endpoint
description: The URI of the OCM API available at this endpoint.
example: https://my-cloud-storage.org/ocm
provider:
type: string
description: A friendly branding name of this endpoint
description: A friendly branding name of this endpoint.
example: MyCloudStorage
federation:
type: object
description: |
The information about the OCM service federation type and trusted domains at this endpoint.
required:
- type
properties:
type:
type: string
description: |
A supported federation type (open, closed).
The `open` federation means that this enpoint trusts every other server.
The `closed` federation means this endpoint only trusts server from it's trusted list.
example: open
trusted:
type: object
description: |
Optional information about the servers trusted at this endpoint.
properties:
domains:
type: array
description: |
Domains trusted by this endpoint.
items:
type: string
example: ["trusted-cloud-storage.org"]
directories:
type: array
description: |
Directories of domains trusted by this endpoint.
items:
type: string
format: url
example: ["https://iop.sciencemesh.uni-muenster.de/iop/mentix/cs3"]
resourceTypes:
type: array
description: |
Expand Down