Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gloriacai01 committed Nov 15, 2024
1 parent cdaf1d5 commit 8b32685
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions proto/viam/app/data/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ service DataService {
// TabularDataByMQL queries tabular data with an MQL (MongoDB Query Language) query.
rpc TabularDataByMQL(TabularDataByMQLRequest) returns (TabularDataByMQLResponse);

// GetLatestTabularData gets the most recent tabular data captured from the specified data source.
rpc GetLatestTabularData(GetLatestTabularDataRequest) returns (GetLatestTabularDataResponse);

// BinaryDataByFilter queries binary data and metadata based on given filters.
rpc BinaryDataByFilter(BinaryDataByFilterRequest) returns (BinaryDataByFilterResponse);

Expand Down Expand Up @@ -226,6 +229,20 @@ message TabularDataByMQLResponse {
reserved "data";
}

// GetLatestTabularDataRequest requests the most recent tabular data captured from the specified data source.
message GetLatestTabularDataRequest {
string part_id = 1;
string resource_name = 2;
string method_name = 3;
}

// GetLatestTabularDataResponse provides the data, time synced, and time captured of most recent tabular data captured from the requested data source.
message GetLatestTabularDataResponse {
google.protobuf.Timestamp time_captured = 1;
google.protobuf.Timestamp time_synced = 2;
google.protobuf.Struct payload = 3;
}

// BinaryData contains data and metadata associated with binary data.
message BinaryData {
bytes binary = 1;
Expand Down

0 comments on commit 8b32685

Please sign in to comment.