@@ -623,11 +623,6 @@ contain the following information about its OCM API:
623623 endpoint. This value is provided for documentation
624624 purposes, and it SHOULD NOT be intended as a prefix
625625 for share requests.
626- - datatx (string) - The top-level path used for data transfers.
627- This value is provided for documentation purposes,
628- and it SHOULD NOT be intended as a prefix. In
629- addition, implementations are expected to execute
630- the transfer using WebDAV [RFC4918] as the wire protocol.
631626 - Any additional protocol supported for this Resource type MAY be
632627 advertised here, where the value MAY correspond to
633628 a top-level URI to be used for that protocol.
@@ -773,42 +768,42 @@ To create a Share, the Sending Server SHOULD make a HTTP POST request
773768* REQUIRED protocol (object)
774769 JSON object with specific options for each protocol.
775770 The supported protocols are : - `webdav`, to access the data -
776- ` webapp` , to access remote web applications - `datatx`, to transfer
777- the data to the remote endpoint.
778-
779- Other custom protocols might be added in the future.
780-
781- In case a single protocol is offered, there are three ways to
782- specify this object :
783- Option 1 : Set the `name` field to the name of the protocol,
784- and put the protocol details in a field named `options`.
785- Option 2 : Set the `name` field to the name of the protocol,
786- and put the protocol details in a field carrying the name of
787- the protocol.
788- Option 3 : Set the `name` field to `multi`, and put the
789- protocol details in a field carrying the name of the protocol.
790-
791- Option 1 using the `options` field is now deprecated.
792- Implementations are encouraged to transition to the new
793- optional properties defined below, such that this field
794- may be removed in a future major version of the spec.
795-
796- When specifying more than one protocol as different ways to
797- access the Share, the `name` field needs to be set to `multi`.
798-
799- If `multi` is given, one or more protocol
800- endpoints are expected to be defined according to the
801- optional properties specified below.
802- Otherwise, at least `webdav` is expected to be
803- supported, and its options MAY be given in the opaque
804- ` options` payload for compatibility with v1.0
805- implementations (see examples). Note though that this
806- format is deprecated.
807- Warning : client implementers should be aware that v1.1
808- servers MAY support both `webdav` and `multi`, but v1.0
809- servers MAY only support `webdav`.
810-
771+ ` webapp` , to access remote web applications.
772+ Other custom protocols might be added in the future.
773+ In case a single protocol is offered, there are three ways to
774+ specify this object :
775+ Option 1 : Set the `name` field to the name of the protocol,
776+ and put the protocol details in a field named `options`.
777+ Option 2 : Set the `name` field to the name of the protocol,
778+ and put the protocol details in a field carrying the name of
779+ the protocol.
780+ Option 3 : Set the `name` field to `multi`, and put the
781+ protocol details in a field carrying the name of the protocol.
782+ Option 1 using the `options` field is now deprecated.
783+ Implementations are encouraged to transition to the new
784+ optional properties defined below, such that this field
785+ may be removed in a future major version of the spec.
786+ When specifying more than one protocol as different ways to
787+ access the Share, the `name` field needs to be set to `multi`.
788+ If `multi` is given, one or more protocol
789+ endpoints are expected to be defined according to the
790+ optional properties specified below.
791+ Otherwise, at least `webdav` is expected to be
792+ supported, and its options MAY be given in the opaque
793+ ` options` payload for compatibility with v1.0
794+ implementations (see examples). Note though that this
795+ format is deprecated.
796+ Warning : client implementers should be aware that v1.1+
797+ servers MAY support both `webdav` and `multi`, but v1.0
798+ servers MAY only support `webdav`.
811799* Protocol details for `webdav` MAY contain:
800+ - OPTIONAL accessType (array of strings) - The type of access
801+ being granted to the remote resource. If omitted, it defaults to
802+ `['remote']`. A subset of : - `remote` signals the recipient that
803+ the resource is available for remote access and interactive
804+ browsing. - `datatx` signals the recipient to transfer the
805+ resource from the given URI. The recipient MAY delegate a
806+ third-party service to execute the data transfer on their behalf.
812807 - REQUIRED uri (string)
813808 A URI to access the Remote Resource. The URI
814809 SHOULD be relative, in which case the prefix
@@ -834,6 +829,9 @@ servers MAY only support `webdav`.
834829 to the Sending Server's {tokenEndPoint} [RFC6749].
835830 This MAY be used if the recipient provider exposes the
836831 ` exchange-token` capability.
832+ - OPTIONAL size (integer)
833+ The size of the resource to be transferred, useful
834+ especially in case of `datatx` access type.
837835* Protocol details for `webapp` MAY contain:
838836 - REQUIRED uri (string)
839837 A URI to a client-browsable view of the Shared
@@ -850,20 +848,6 @@ servers MAY only support `webdav`.
850848 - OPTIONAL sharedSecret (string)
851849 An optional secret to be used to access the remote
852850 web app, for example in the form of a bearer token.
853- * Protocol details for `datatx` MAY contain:
854- - REQUIRED srcUri (string)
855- A URI to access the Remote Resource. The URI
856- SHOULD be relative, in which case the prefix
857- exposed by the `/.well-known/ocm` endpoint MUST be
858- used. Absolute URIs are deprecated.
859- - OPTIONAL sharedSecret (string)
860- An optional secret to be used to access the
861- Resource, for example in the form of a bearer
862- token. To prevent leaking it in logs it MUST NOT
863- appear in any URI.
864- - OPTIONAL size (integer)
865- The size of the file to be transferred from the
866- sending server.
867851
868852# # Decision to Discard
869853
0 commit comments