Switch to the /v2/ storage-service endpoints for group operations

This commit is contained in:
Jamie Kyle 2024-05-03 17:42:11 -07:00 committed by GitHub
parent 711f7d3352
commit 408444352f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 68 additions and 36 deletions

View file

@ -220,6 +220,19 @@ message GroupChange {
uint32 changeEpoch = 3; // Allows clients to decide whether their change logic can successfully apply this diff
}
// External credentials
message ExternalGroupCredential {
string token = 1;
}
// API responses
message GroupResponse {
Group group = 1;
bytes groupSendEndorsementResponse = 2;
}
message GroupChanges {
message GroupChangeState {
GroupChange groupChange = 1;
@ -227,6 +240,12 @@ message GroupChanges {
}
repeated GroupChangeState groupChanges = 1;
bytes groupSendEndorsementResponse = 2;
}
message GroupChangeResponse {
GroupChange groupChange = 1;
bytes groupSendEndorsementResponse = 2;
}
message GroupAttributeBlob {
@ -238,10 +257,6 @@ message GroupAttributeBlob {
}
}
message GroupExternalCredential {
string token = 1;
}
message GroupInviteLink {
message GroupInviteLinkContentsV1 {
bytes groupMasterKey = 1;