diff --git a/protos/inventory.proto b/protos/inventory.proto new file mode 100644 index 0000000000..10eeea4ea5 --- /dev/null +++ b/protos/inventory.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + +package spotify.backstage.inventory.v1alpha1; + +service Inventory { + rpc GetEntity(GetEntityRequest) returns (GetEntityReply); +} + +message GetEntityRequest { + Entity entity = 1; + repeated string include_facts = 2; +} + +message GetEntityReply { + Entity entity = 1; + repeated Fact facts = 2; +} + +message Entity { + string kind = 1; + string id = 2; +} + +message Fact { + string name = 1; + string value = 2; +}