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 ResourceType field in ReceivedShare #202

Merged
merged 2 commits into from
Feb 21, 2023
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
3 changes: 3 additions & 0 deletions cs3/sharing/ocm/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ message ReceivedShare {
ShareState state = 12;
// OPTIONAL.
cs3.types.v1beta1.Opaque opaque = 13;
// REQUIRED.
// Resource type.
cs3.storage.provider.v1beta1.ResourceType resource_type = 14;
}

// The state of the share.
Expand Down
70 changes: 70 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,14 @@ <h2>Table of Contents</h2>
<a href="#cs3.ocm.invite.v1beta1.GetAcceptedUserResponse"><span class="badge">M</span>GetAcceptedUserResponse</a>
</li>

<li>
<a href="#cs3.ocm.invite.v1beta1.ListInviteTokensRequest"><span class="badge">M</span>ListInviteTokensRequest</a>
</li>

<li>
<a href="#cs3.ocm.invite.v1beta1.ListInviteTokensResponse"><span class="badge">M</span>ListInviteTokensResponse</a>
</li>




Expand Down Expand Up @@ -3207,6 +3215,13 @@ <h3 id="cs3.gateway.v1beta1.GatewayAPI">GatewayAPI</h3>
<td><p>Generates a new token for the user with a validity of 24 hours.</p></td>
</tr>

<tr>
<td>ListInviteTokens</td>
<td><a href="#cs3.ocm.invite.v1beta1.ListInviteTokensRequest">.cs3.ocm.invite.v1beta1.ListInviteTokensRequest</a></td>
<td><a href="#cs3.ocm.invite.v1beta1.ListInviteTokensResponse">.cs3.ocm.invite.v1beta1.ListInviteTokensResponse</a></td>
<td><p>Lists the valid tokens generated by the user.</p></td>
</tr>

<tr>
<td>ForwardInvite</td>
<td><a href="#cs3.ocm.invite.v1beta1.ForwardInviteRequest">.cs3.ocm.invite.v1beta1.ForwardInviteRequest</a></td>
Expand Down Expand Up @@ -9332,6 +9347,46 @@ <h3 id="cs3.ocm.invite.v1beta1.GetAcceptedUserResponse">GetAcceptedUserResponse<



<h3 id="cs3.ocm.invite.v1beta1.ListInviteTokensRequest">ListInviteTokensRequest</h3>
<p></p>





<h3 id="cs3.ocm.invite.v1beta1.ListInviteTokensResponse">ListInviteTokensResponse</h3>
<p></p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>status</td>
<td><a href="#cs3.rpc.v1beta1.Status">cs3.rpc.v1beta1.Status</a></td>
<td></td>
<td><p>REQUIRED.
The response status. </p></td>
</tr>

<tr>
<td>invite_tokens</td>
<td><a href="#cs3.ocm.invite.v1beta1.InviteToken">InviteToken</a></td>
<td>repeated</td>
<td><p>REQUIRED.
The list of valid tokens. </p></td>
</tr>

</tbody>
</table>








Expand All @@ -9353,6 +9408,13 @@ <h3 id="cs3.ocm.invite.v1beta1.InviteAPI">InviteAPI</h3>
<td><p>Generates a new token for the user with a validity of 24 hours.</p></td>
</tr>

<tr>
<td>ListInviteTokens</td>
<td><a href="#cs3.ocm.invite.v1beta1.ListInviteTokensRequest">ListInviteTokensRequest</a></td>
<td><a href="#cs3.ocm.invite.v1beta1.ListInviteTokensResponse">ListInviteTokensResponse</a></td>
<td><p>Lists the valid tokens generated by the user.</p></td>
</tr>

<tr>
<td>ForwardInvite</td>
<td><a href="#cs3.ocm.invite.v1beta1.ForwardInviteRequest">ForwardInviteRequest</a></td>
Expand Down Expand Up @@ -13577,6 +13639,14 @@ <h3 id="cs3.sharing.ocm.v1beta1.ReceivedShare">ReceivedShare</h3>
<td><p>OPTIONAL. </p></td>
</tr>

<tr>
<td>resource_type</td>
<td><a href="#cs3.storage.provider.v1beta1.ResourceType">cs3.storage.provider.v1beta1.ResourceType</a></td>
<td></td>
<td><p>REQUIRED.
Resource type. </p></td>
</tr>

</tbody>
</table>

Expand Down