Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 7 additions & 10 deletions IETF-RFC.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,8 @@ field of an Invite Acceptance Request.

Step 1: In case it has an OCM Address, it SHOULD first extract `<fqdn>`
from it (the part after the last `@` sign).
Step 2: The Discovering Server SHOULD attempt OCM API Discovery a HTTP
GET request to `https://<fqdn>/.well-known/ocm`.
Step 2: The Discovering Server SHOULD attempt OCM API Discovery via a
HTTP GET request to `https://<fqdn>/.well-known/ocm`.
Step 3: If that results in a valid HTTP response with a valid JSON
response body within reasonable time, go to step 7.
Step 4: If not, try a HTTP GET with `https://<fqdn>/ocm-provider` as
Expand Down Expand Up @@ -616,10 +616,9 @@ with the fields as described below

* REQUIRED shareWith (string)
OCM Address of the user, group or federation
the provider wants to share the Resource with. This is known
in advance. Please note that the consumer service endpoint is
known in advance as well, so this is no part of the request
body.
the provider wants to share the Resource with. This MUST be
known in advance, either via a previous Invitation or through
other means.
Example: "51dc30ddc473d43a6011e9ebba6ca770@geant.org"
* REQUIRED name (string)
Name of the Resource (file or folder).
Expand All @@ -640,9 +639,7 @@ with the fields as described below
Example: "6358b71804dfa8ab069cf05ed1b0ed2a@apiwise.nl"
* REQUIRED sender (string) -
OCM Address of the user that wants to share
the Resource. Please note that the requesting provider is
being identified on a higher level, so the former `remote`
property is not part of the request body.
the Resource.
Example: "527bd5b5d689e2c32ae974c6229ff785@apiwise.nl"
* OPTIONAL ownerDisplayName (string)
Display name of the owner of the Resource
Expand All @@ -652,7 +649,7 @@ with the fields as described below
Example: "John Doe"
* REQUIRED shareType (string)
SHOULD have a value of "user", "group", or "federation", to
indicated that the first part of the `shareWith` OCM Address
indicate that the first part of the `shareWith` OCM Address
refers to a Receiving Party who is a single user of the
Receiving Server, a group of users at the Receiving Servers, or
a group of users that is spread out over various servers,
Expand Down
15 changes: 5 additions & 10 deletions spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,8 @@ components:
type: string
description: >
OCM Address of the user, group or federation the
provider
wants to share the resource with. This is known in advance.
Please note that the consumer service endpoint is known in advance
as well, so this is no part of the request body.
provider wants to share the resource with. This MUST be known
in advance, either via a previous Invitation or through other means.
example: 51dc30ddc473d43a6011e9ebba6ca770@geant.org
name:
type: string
Expand All @@ -509,9 +507,8 @@ components:
type: string
description: >
Identifier to identify the shared resource at the provider side.
This is
unique per provider such that if the same resource is shared twice,
this providerId will not be repeated.
This is unique per provider such that if the same resource is shared
twice, this providerId will not be repeated.
example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
owner:
description: |
Expand All @@ -521,9 +518,7 @@ components:
sender:
description: |
OCM Address of the user that wants to share the
resource. Please note that the requesting provider is being
identified on a higher level, so the former `remote` property
is not part of the request body.
resource.
type: string
example: 527bd5b5d689e2c32ae974c6229ff785@apiwise.nl
ownerDisplayName:
Expand Down
Loading