29 lines
726 B
Protocol Buffer
29 lines
726 B
Protocol Buffer
syntax="proto3";
|
|
package bts.support;
|
|
option csharp_namespace="bts.support";
|
|
import "lib/api/apioptions.proto";
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
message FileData {
|
|
string name = 1;
|
|
bytes contents = 2;
|
|
}
|
|
|
|
message ErrorReport {
|
|
google.protobuf.Timestamp timestamp = 1;
|
|
string user = 2;
|
|
string user_description = 3;
|
|
string error_title = 4;
|
|
string error_message = 5;
|
|
string log = 6;
|
|
bytes image = 7;
|
|
string contact = 8;
|
|
repeated FileData files = 9;
|
|
}
|
|
message ErrorResponse {
|
|
}
|
|
|
|
service ErrorReportService {
|
|
option (bts.api.service_description) = "User reported errors from the shell";
|
|
rpc send_report(ErrorReport) returns (ErrorResponse);
|
|
} |