Bluemage/schemas/proto/device/v1/get.proto
Tigor Hutasuhut cf14079f1f refactor: api now uses it's own request type and handlers
will now handles the conversion of the request to the api request type
2024-08-15 10:23:56 +07:00

18 lines
389 B
Protocol Buffer

syntax = "proto3";
package device.v1;
import "buf/validate/validate.proto";
import "device/v1/types.proto";
option go_package = "github.com/tigorlazuardi/bluemage/go/gen/proto/device/v1";
message GetDeviceRequest {
// The `slug` is a unique identifier for the device.
string slug = 1 [(buf.validate.field).string.min_len = 1];
}
message GetDeviceResponse {
Device device = 1;
}