diff --git a/IETF-RFC.md b/IETF-RFC.md index adcd717..dbf887d 100644 --- a/IETF-RFC.md +++ b/IETF-RFC.md @@ -905,7 +905,7 @@ A 201 response status means the Share Creation Notification Request was successful. In this case, the response body MUST contain a JSON document representing an object with the following string fields: - REQUIRED: `recipientDisplayName` - the Recipient's display name. - - OPTIONAL: `recipientPublicKey` - the Recipient's public key. + - OPTIONAL: `recipientPublicKeys` - the Recipient's public key(s). This property MUST be returned when the protocol of the incoming share was `ssh`. A 400 response status means some parameters were invalid or missing. diff --git a/spec.yaml b/spec.yaml index b6e43af..6beff46 100644 --- a/spec.yaml +++ b/spec.yaml @@ -75,10 +75,12 @@ paths: description: > Display name of the recipient example: John Doe - recipientPublicKey: - type: string + recipientPublicKeys: + type: array + items: + type: string description: > - The public key of the recipient. This value MUST be provided + The public key(s) of the recipient. This value MUST be provided in case the Share Creation Notification includes the `ssh` protocol. "400": description: >