From 4c1309502249844933370e106f4653f8a0d84196 Mon Sep 17 00:00:00 2001
From: David Christofas
Date: Fri, 12 Mar 2021 12:11:13 +0100
Subject: [PATCH] get public share methods also return the share password now
For some alternative public share authentication methods we need to be able to access the public share password. Some more details are documented here: https://github.com/cs3org/cs3apis/issues/110
---
cs3/sharing/link/v1beta1/link_api.proto | 6 ++++++
docs/index.html | 16 ++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/cs3/sharing/link/v1beta1/link_api.proto b/cs3/sharing/link/v1beta1/link_api.proto
index 3244a84c..091c77d9 100644
--- a/cs3/sharing/link/v1beta1/link_api.proto
+++ b/cs3/sharing/link/v1beta1/link_api.proto
@@ -220,6 +220,9 @@ message GetPublicShareResponse {
// REQUIRED.
// The share.
PublicShare share = 3;
+ // OPTIONAL.
+ // The share password hash.
+ string password = 4;
}
message GetPublicShareByTokenRequest {
@@ -244,4 +247,7 @@ message GetPublicShareByTokenResponse {
// REQUIRED.
// The share.
PublicShare share = 3;
+ // OPTIONAL.
+ // The share password hash.
+ string password = 4;
}
diff --git a/docs/index.html b/docs/index.html
index 9adaba33..9b587231 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -8519,6 +8519,14 @@ GetPublicShareBy
The share.
+
+ password |
+ string |
+ |
+ OPTIONAL.
+The share password hash. |
+
+
@@ -8593,6 +8601,14 @@ GetPublicShareResponse<
The share.
+
+ password |
+ string |
+ |
+ OPTIONAL.
+The share password hash. |
+
+