Bluemage/schemas/proto/device/v1/get.proto

16 lines
308 B
Protocol Buffer

syntax = "proto3";
package device.v1;
import "buf/validate/validate.proto";
import "device/v1/types.proto";
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;
}