Skip to content

Commit e34304b

Browse files
authored
Clarify resourceType use in new shares (#285)
1 parent bd94a9a commit e34304b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

IETF-RFC.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,10 @@ To create a Share, the Sending Server SHOULD make a HTTP POST request
749749
metadata and act as an OCM proxy, forwarding the OCM requests to
750750
the actual members of the federation.
751751
* REQUIRED resourceType (string)
752-
Resource type (file, calendar, contact, ...)
752+
Resource type (file, folder, calendar, contact, ...). If the
753+
Resource is a folder, implementations SHOULD advertise it as
754+
`folder` rather than `file`, in order to streamline the processing
755+
by the Receiving Server.
753756
* OPTIONAL expiration (integer)
754757
The expiration time for the OCM share, in seconds
755758
of UTC time since Unix epoch. If omitted, it is assumed

spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ components:
543543
resourceType:
544544
type: string
545545
description: |
546-
Resource type (file, calendar, contact, ...)
546+
Resource type (file, folder, calendar, contact, ...)
547547
example: file
548548
expiration:
549549
type: integer
@@ -766,7 +766,7 @@ components:
766766
resourceType:
767767
type: string
768768
description: |
769-
Resource type (file, user, calendar, contact, ...)
769+
Resource type (file, folder, user, calendar, contact, ...)
770770
providerId:
771771
type: string
772772
description: |

0 commit comments

Comments
 (0)