33 lines
596 B
Protocol Buffer
33 lines
596 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option csharp_namespace = "AZKiServer.RPC";
|
|
package azki;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
import "google/protobuf/empty.proto";
|
|
|
|
enum MediaType {
|
|
None = 0;
|
|
Image = 1;
|
|
Video = 2;
|
|
All = 3;
|
|
}
|
|
|
|
message MediaList {
|
|
repeated MediaEntry entries = 1;
|
|
}
|
|
|
|
message MediaRangeRequest{
|
|
MediaType type = 1;
|
|
google.protobuf.Timestamp from = 2;
|
|
google.protobuf.Timestamp to = 3;
|
|
}
|
|
|
|
message MediaEntry {
|
|
int32 version = 1;
|
|
string id = 2;
|
|
MediaType type = 3;
|
|
string filePath = 4;
|
|
int32 cameraId = 5;
|
|
google.protobuf.Timestamp date = 6;
|
|
} |