Skip to content
Merged
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
10 changes: 7 additions & 3 deletions apis/datasets/v1/data_access.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ message GetDatapointByIdRequest {

// QueryByIDRequest contains the request parameters for retrieving a single data point by its id.
message QueryByIDRequest {
// The dataset id to query. If not set, the dataset is derived from the collection ids, in which case there must be at least one collection id set.
tilebox.v1.ID dataset_id = 4;
// collection ids to query.
repeated tilebox.v1.ID collection_ids = 1 [(buf.validate.field).repeated = {
min_items: 1
min_items: 0
max_items: 100
}];
// The id of the requested data point.
Expand Down Expand Up @@ -107,9 +109,11 @@ message SpatialFilter {

// QueryRequest contains the request parameters for retrieving data from a Tilebox dataset.
message QueryRequest {
// collection ids to query.
// The dataset id to query. If not set, the dataset is derived from the collection ids, in which case there must be at least one collection id set.
tilebox.v1.ID dataset_id = 5;
// collection ids to query. If empty, all collections of the dataset are queried.
repeated tilebox.v1.ID collection_ids = 1 [(buf.validate.field).repeated = {
min_items: 1
min_items: 0
max_items: 100
}];
// Filters to apply to the query.
Expand Down