put working now doing post general test

This commit is contained in:
filipriec
2025-03-03 23:43:43 +01:00
parent eef5efccd4
commit 74f43bdc52
12 changed files with 557 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ import "common.proto";
service TablesData {
rpc PostTableData (PostTableDataRequest) returns (PostTableDataResponse);
rpc PutTableData (PutTableDataRequest) returns (PutTableDataResponse);
}
message PostTableDataRequest {
@@ -19,3 +20,16 @@ message PostTableDataResponse {
string message = 2;
int64 inserted_id = 3;
}
message PutTableDataRequest {
string profile_name = 1;
string table_name = 2;
int64 id = 3;
map<string, string> data = 4;
}
message PutTableDataResponse {
bool success = 1;
string message = 2;
int64 updated_id = 3;
}