mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-16 06:18:27 +00:00
api: Add BackendInterfacesRequest stream message.
This commit is contained in:
5
api/rust/build.rs
vendored
5
api/rust/build.rs
vendored
@ -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(),
|
||||
|
40
api/rust/proto/chirpstack/stream/backend_interfaces.proto
vendored
Normal file
40
api/rust/proto/chirpstack/stream/backend_interfaces.proto
vendored
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user