Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get feature idea #1077

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions proto/gateway/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,34 @@ message GetFeatureRequest {
string id = 1;
}

message Feature {
string id = 1;
string name = 2;
string description = 3;
bool enabled = 4;
bool deleted = 5;
bool evaluation_undelayable = 6 [deprecated = true];
int32 version = 8;
int64 created_at = 9;
int64 updated_at = 10;
repeated Variation variations = 11;
repeated Target targets = 12;
repeated Rule rules = 13;
Strategy default_strategy = 14;
string off_variation = 15;
repeated string tags = 16;
FeatureLastUsedInfo last_used_info = 17;
string maintainer = 18;
VariationType variation_type = 19;
bool archived = 20;
repeated Prerequisite prerequisites = 21;

int64 event_count = 22;
int64 unique_count = 23;
}

message GetFeatureResponse {
feature.Feature feature = 1;
Feature feature
}

message ListFeaturesRequest {
Expand All @@ -152,7 +178,7 @@ message ListFeaturesRequest {
}

message ListFeaturesResponse {
repeated feature.Feature features = 1;
repeated Feature features = 1;
}

message UpdateFeatureRequest {
Expand Down
Loading