Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion src/bitdrift/public/unary/common/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ message Sort {
DESC = 1;
}

// The field to sort by.
// The field to sort by. Permitted values are endpoint-specific and are documented on each
// request's sort_by field.
string field = 1 [(validate.rules).string = {max_len: 100}];

// The direction to sort by.
Expand Down
9 changes: 6 additions & 3 deletions src/bitdrift/public/unary/issues/v1/issues.proto
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,10 @@ message ListIssueGroupsRequest {
lte: 100
}];

// Sort the list of issues based on the given list of fields. The order of the fields
// in this list determines the order in which sort is applied.
// Sort the list of issue groups based on the given list of fields. The order of the fields
// in this list determines the order in which sort is applied. Permitted values: "age",
// "start_time", "end_time", "reason", "context", "detail", "total_value", "unique_count",
// "session_count", and "platform".
repeated .bitdrift.public.unary.common.v1.Sort sort_by = 4 [(validate.rules).repeated = {max_items: 100}];

.bitdrift.public.unary.issues.v1.IssueQuery issue_query = 5;
Expand Down Expand Up @@ -357,7 +359,8 @@ message ListIssuesRequest {
repeated .bitdrift.public.unary.issues.v1.ListIssuesRequest.ListIssuesFilters filters = 4 [(validate.rules).repeated = {max_items: 100}];

// Sort the list of issues based on the given list of fields. The order of the fields
// in this list determines the order in which sort is applied.
// in this list determines the order in which sort is applied. Permitted values:
// "occurred_at", "reason", "context", and "detail".
repeated .bitdrift.public.unary.common.v1.Sort sort_by = 5 [(validate.rules).repeated = {max_items: 100}];

.bitdrift.public.unary.issues.v1.IssueQuery issue_query = 6;
Expand Down
5 changes: 4 additions & 1 deletion src/bitdrift/public/unary/workflows/v1/workflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,10 @@ message ListWorkflowsRequest {
repeated .bitdrift.public.unary.workflows.v1.Filter filters = 3 [(validate.rules).repeated = {max_items: 100}];

// Sort the list of workflows based on the given list of fields. The order of the fields
// in this list determines the order in which sort is applied.
// in this list determines the order in which sort is applied. Permitted values: "id", "name",
// "created_at", "current_user_last_viewed", "owned", "user_priority",
// "current_user_favorited", "exploration_name", "owner_user_id", "owner_email", and
// "deployed".
repeated .bitdrift.public.unary.common.v1.Sort sort_by = 4 [(validate.rules).repeated = {max_items: 100}];

// Filter the list of workflows based on the platform(s) that that workflow
Expand Down
Loading