post to the user defined table, broken push
This commit is contained in:
21
common/proto/tables_data.proto
Normal file
21
common/proto/tables_data.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
// common/proto/tables_data.proto
|
||||
syntax = "proto3";
|
||||
package multieko2.tables_data;
|
||||
|
||||
import "common.proto";
|
||||
|
||||
service TablesData {
|
||||
rpc PostTableData (PostTableDataRequest) returns (PostTableDataResponse);
|
||||
}
|
||||
|
||||
message PostTableDataRequest {
|
||||
string profile_name = 1;
|
||||
string table_name = 2;
|
||||
map<string, string> data = 3;
|
||||
}
|
||||
|
||||
message PostTableDataResponse {
|
||||
bool success = 1;
|
||||
string message = 2;
|
||||
int64 inserted_id = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user