Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add description to public share #184

Merged
merged 2 commits into from
Sep 29, 2022
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
4 changes: 4 additions & 0 deletions cs3/sharing/link/v1beta1/link_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ message UpdatePublicShareRequest {
TYPE_PASSWORD = 2;
TYPE_EXPIRATION = 3;
TYPE_DISPLAYNAME = 4;
TYPE_DESCRIPTION = 5;
}
// REQUIRED.
// Defines the field to update.
Expand All @@ -133,6 +134,9 @@ message UpdatePublicShareRequest {
// OPTIONAL
// Defines the public link display name.
string display_name = 5;
// OPTIONAL
// Defines the public link description.
string description = 6;
}
Update update = 3;
}
Expand Down
3 changes: 3 additions & 0 deletions cs3/sharing/link/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ message PublicShare {
// A bool value indicating if the link is the quicklink
// the server will enforce a maximum of 1 quicklink per resource
bool quicklink = 13;
// OPTIONAL
// Description of the share.
string description = 14;
}

// The permissions for a share.
Expand Down