Files
groove/proto/library.proto
2024-11-24 00:10:56 +01:00

21 lines
311 B
Protocol Buffer

syntax = "proto3";
import 'google/protobuf/empty.proto';
package library;
service Library {
rpc ListTracks(google.protobuf.Empty) returns (TrackList);
}
message TrackList {
repeated Track tracks = 1;
}
message Track {
string hash = 1;
string name = 2;
string artist_name = 3;
uint64 artist_id = 4;
}