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

Get initiator's info on AcceptInvite #196

Merged
merged 3 commits into from
Jan 16, 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
18 changes: 18 additions & 0 deletions cs3/ocm/invite/v1beta1/invite_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@ message ForwardInviteResponse {
// OPTIONAL.
// Opaque information.
cs3.types.v1beta1.Opaque opaque = 2;
// REQUIRED.
// The initiator's user id of the workflow.
cs3.identity.user.v1beta1.UserId user_id = 3;
// REQUIRED.
// The initiator's email of the workflow.
string email = 4;
// REQUIRED.
// The initiator's display name of the workflow.
string display_name = 5;
}

message AcceptInviteRequest {
Expand All @@ -121,6 +130,15 @@ message AcceptInviteResponse {
// OPTIONAL.
// Opaque information.
cs3.types.v1beta1.Opaque opaque = 2;
// REQUIRED.
// The initiator's user id of the workflow.
cs3.identity.user.v1beta1.UserId user_id = 3;
// REQUIRED.
// The initiator's email of the workflow.
string email = 4;
// REQUIRED.
// The initiator's display name of the workflow.
string display_name = 5;
}

message GetAcceptedUserRequest {
Expand Down
30 changes: 30 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8295,6 +8295,12 @@ <h3 id="cs3.identity.user.v1beta1.UserType">UserType</h3>
<td><p>A lightweight user account without access to various major functionalities.</p></td>
</tr>

<tr>
<td>USER_TYPE_SPACE_OWNER</td>
<td>8</td>
<td><p>A space owner to allow access for public link or content indexing.</p></td>
</tr>

</tbody>
</table>

Expand Down Expand Up @@ -8965,6 +8971,30 @@ <h3 id="cs3.ocm.invite.v1beta1.AcceptInviteResponse">AcceptInviteResponse</h3>
Opaque information. </p></td>
</tr>

<tr>
<td>user_id</td>
<td><a href="#cs3.identity.user.v1beta1.UserId">cs3.identity.user.v1beta1.UserId</a></td>
<td></td>
<td><p>REQUIRED.
The initiator&#39;s user id of the workflow. </p></td>
</tr>

<tr>
<td>email</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>REQUIRED.
The initiator&#39;s email of the workflow. </p></td>
</tr>

<tr>
<td>display_name</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>REQUIRED.
The initiator&#39;s display name of the workflow. </p></td>
</tr>

</tbody>
</table>

Expand Down