Skip to content

Commit

Permalink
feat(eap): add a snuba tags list endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-sentry committed Sep 5, 2024
1 parent af63599 commit d4fdb94
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions proto/sentry_protos/snuba/v1alpha/endpoint_tags_list.proto
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;
}

0 comments on commit d4fdb94

Please sign in to comment.