From f2d98fe397448df12a200c08642bbef7e250a107 Mon Sep 17 00:00:00 2001 From: Andrew Schulmonds Date: Thu, 24 Apr 2025 17:38:29 -0400 Subject: [PATCH] add SearchForItems protos --- proto/viam/app/v1/app.proto | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/proto/viam/app/v1/app.proto b/proto/viam/app/v1/app.proto index e49ff76d3..50b62fdd9 100644 --- a/proto/viam/app/v1/app.proto +++ b/proto/viam/app/v1/app.proto @@ -299,6 +299,10 @@ service AppService { rpc CreateKeyFromExistingKeyAuthorizations(CreateKeyFromExistingKeyAuthorizationsRequest) returns (CreateKeyFromExistingKeyAuthorizationsResponse); rpc GetAppContent(GetAppContentRequest) returns (GetAppContentResponse); + + // Search + + rpc SearchForItems(SearchForItemsRequest) returns (SearchForItemsResponse); } message Robot { @@ -1864,3 +1868,17 @@ message OAuthConfig { string logout_uri = 6; repeated EnabledGrant enabled_grants = 7; } + +message SearchResult { + string id = 1; + string item_type = 2; + string name = 3; +} + +message SearchForItemsRequest { + string search_string = 1; +} + +message SearchForItemsResponse { + repeated SearchResult results = 1; +}