api: Add BackendInterfacesRequest stream message.

This commit is contained in:
Orne Brocaar
2023-11-02 08:36:57 +00:00
parent 36e6d5ccb9
commit 6931e9adb5
17 changed files with 1502 additions and 0 deletions

5
api/rust/build.rs vendored
View File

@ -153,6 +153,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.join("api_request.proto")
.to_str()
.unwrap(),
cs_dir
.join("stream")
.join("backend_interfaces.proto")
.to_str()
.unwrap(),
],
&[
proto_dir.join("chirpstack").to_str().unwrap(),

View File

@ -0,0 +1,40 @@
syntax = "proto3";
package stream;
option go_package = "github.com/chirpstack/chirpstack/api/go/v4/stream";
option java_package = "io.chirpstack.api.stream";
option java_multiple_files = true;
option java_outer_classname = "BackendInterfacesProto";
option csharp_namespace = "Chirpstack.Stream";
import "google/protobuf/timestamp.proto";
message BackendInterfacesRequest {
// Sender ID.
string sender_id = 1;
// Receiver ID.
string receiver_id = 2;
// Timestamp.
google.protobuf.Timestamp time = 3;
// Transaction ID.
uint32 transaction_id = 4;
// Message-type.
string message_type = 5;
// Result code.
string result_code = 6;
// Request body.
string request_body = 7;
// Request error.
string request_error = 8;
// Response body.
string response_body = 9;
}