Skip to content

Commit

Permalink
gRPC spec update: Introduce UpdateRecordingMetadata API (#8045)
Browse files Browse the repository at this point in the history
  • Loading branch information
zehiko authored Nov 8, 2024
1 parent bde068d commit ed110b7
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 59 deletions.
15 changes: 14 additions & 1 deletion crates/store/re_protos/proto/rerun/v0/remote_store.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ package rerun.remote_store.v0;
import "rerun/v0/common.proto";

service StorageNode {
rpc ListRecordings(ListRecordingsRequest) returns (ListRecordingsResponse) {}
// data API calls
rpc Query(QueryRequest) returns (stream QueryResponse) {}
rpc FetchRecording(FetchRecordingRequest) returns (stream FetchRecordingResponse) {}

// metadata API calls
rpc ListRecordings(ListRecordingsRequest) returns (ListRecordingsResponse) {}
rpc GetRecordingMetadata(GetRecordingMetadataRequest) returns (GetRecordingMetadataResponse) {}
rpc UpdateRecordingMetadata(UpdateRecordingMetadataRequest) returns (UpdateRecordingMetadataResponse) {}
rpc RegisterRecording(RegisterRecordingRequest) returns (RegisterRecordingResponse) {}
}

Expand Down Expand Up @@ -67,6 +71,15 @@ message TimeMetadata {
TimeRange time_range = 2;
}

// ---------------- UpdateRecordingMetadata -----------------

message UpdateRecordingMetadataRequest {
RecordingId recording_id = 1;
RecordingMetadata metadata = 2;
}

message UpdateRecordingMetadataResponse {}

// ---------------- Query -----------------

message QueryRequest {
Expand Down
199 changes: 141 additions & 58 deletions crates/store/re_protos/src/v0/rerun.remote_store.v0.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ed110b7

Please sign in to comment.