plug.proto aktualisiert
This commit is contained in:
parent
f65839620c
commit
9cd117f2c2
11
plug.proto
11
plug.proto
@ -8,6 +8,7 @@ service PlugConnector {
|
||||
rpc TaskStatus(PlugTask) returns (PlugTaskStatus);
|
||||
rpc TaskCancel(PlugTask) returns (PlugTaskStatus);
|
||||
rpc Ping(PingRequest) returns (PongResponse); // Added Ping endpoint
|
||||
rpc SendMessage(SendMessageRequest) returns (SendMessageResponse);
|
||||
}
|
||||
|
||||
message PingRequest {
|
||||
@ -40,4 +41,14 @@ message PlugTaskCreation {
|
||||
string user_id = 1;
|
||||
string user_source_name = 2;
|
||||
bool deep_scrape = 3;
|
||||
string api_key = 4;
|
||||
}
|
||||
|
||||
message SendMessageRequest {
|
||||
string user_id = 1;
|
||||
string message = 2;
|
||||
}
|
||||
|
||||
message SendMessageResponse {
|
||||
bool success = 1;
|
||||
}
|
Reference in New Issue
Block a user