Skip to content

Commit

Permalink
Merge pull request #26 from hduhelp/jaketmoon
Browse files Browse the repository at this point in the history
feat(consultingapis):update grade chat group APIs(create,get,merge,sync)
  • Loading branch information
jaketmoon authored Sep 20, 2024
2 parents 7ea9010 + 3d65708 commit 53ada6a
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions consultingapis/dingtalk/v1/dingtalk.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,20 @@ service DingTalkService {

rpc CreateGradeChatGroup(CreateGradeChatGroupRequest) returns (CreateGradeChatGroupResponse) {
option (google.api.http) = {
post: "/dingtalk/chat/v1/create-grade"
post: "/dingtalk/chat/v1/unit/create"
body: "body"
};
}

rpc GetGradeChatGroup(GetGradeChatGroupRequest) returns (GetGradeChatGroupResponse) {
option (google.api.http) = {
get: "/dingtalk/chat/v1/get-grade"
};
}

rpc MergeGradeChatGroup(MergeGradeChatGroupRequest) returns (MergeGradeChatGroupResponse) {
option (google.api.http) = {
get: "/dingtalk/chat/v1/merge-grade"
get: "/dingtalk/chat/v1/unit/get"
};
}

rpc SyncGradeChatGroup(SyncGradeChatGroupRequest) returns (SyncGradeChatGroupResponse) {
option (google.api.http) = {
get: "/dingtalk/chat/v1/sync-grade"
get: "/dingtalk/chat/v1/unit/sync"
};
}
}
Expand Down Expand Up @@ -120,14 +114,6 @@ message CreateGradeChatGroupResponse {
string invite_url = 3;
}

message MergeGradeChatGroupRequest {
string unitId = 1;
string grade = 2;
string openConversationId = 3;
}

message MergeGradeChatGroupResponse {}

message GetGradeChatGroupRequest {
string unitId = 1;
string grade = 2;
Expand Down

0 comments on commit 53ada6a

Please sign in to comment.