-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eap): add a snuba tags list endpoint
- Loading branch information
1 parent
af63599
commit d4fdb94
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
proto/sentry_protos/snuba/v1alpha/endpoint_tags_list.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
syntax = "proto3"; | ||
|
||
package sentry_protos.snuba.v1alpha; | ||
|
||
import "sentry_protos/snuba/v1alpha/request_common.proto"; | ||
|
||
//A request for "which tags are available for these projects between these dates" - used for things like autocompletion | ||
message TagsListRequest { | ||
RequestMeta meta = 1; | ||
uint32 limit = 2; | ||
uint32 offset = 3; | ||
} | ||
|
||
message TagsListResponse { | ||
enum Type { | ||
TYPE_UNSPECIFIED = 0; | ||
TYPE_STRING = 1; | ||
TYPE_NUMBER = 2; | ||
} | ||
|
||
message Tag { | ||
string name = 1; | ||
Type type = 2; | ||
} | ||
repeated Tag tags = 1; | ||
} |