Bluemage/schemas/proto/device/v1/exists.proto

15 lines
280 B
Protocol Buffer
Raw Permalink Normal View History

syntax = "proto3";
package device.v1;
import "buf/validate/validate.proto";
message DeviceExistsRequest {
// The `slug` is a unique identifier for the device.
string slug = 1 [(buf.validate.field).string.min_len = 1];
}
message DeviceExistsResponse {
bool exists = 1;
}