Skip to content

Commit

Permalink
Get initiator's info on AcceptInvite (#196)
Browse files Browse the repository at this point in the history
* get initiator's info from accept invite response

* updated doc

* add initiator's info in ForwardInvite response
  • Loading branch information
gmgigi96 authored Jan 16, 2023
1 parent bb7fbfa commit d08b8e8
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
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

0 comments on commit d08b8e8

Please sign in to comment.