@@ -12,39 +12,6 @@ import "tilebox/v1/query.proto";
1212
1313option features.field_presence = IMPLICIT ;
1414
15- // Legacy message, to be removed in the future.
16- // GetDatasetForIntervalRequest contains the request parameters for retrieving data for a time interval.
17- message GetDatasetForIntervalRequest {
18- // The collection id.
19- string collection_id = 1 ;
20-
21- // Either time interval or datapoint interval must be set, but not both.
22- // The time interval for which data is requested.
23- tilebox.v1.TimeInterval time_interval = 2 ;
24- // The datapoint interval for which data is requested.
25- tilebox.v1.IDInterval datapoint_interval = 6 ;
26-
27- // The pagination parameters for this request.
28- LegacyPagination page = 3 [features.field_presence = EXPLICIT ];
29- // If true, the datapoint data is not returned.
30- bool skip_data = 4 ;
31- // If true, the datapoint metadata is not returned.
32- // If both skip_data and skip_meta are true,
33- // the response will only consist of a list of datapoint ids without any additional data or metadata.
34- bool skip_meta = 5 ;
35- }
36-
37- // Legacy message, to be removed in the future.
38- // GetDatapointByIdRequest contains the request parameters for retrieving a single data point in a collection by its id.
39- message GetDatapointByIdRequest {
40- // The collection id.
41- string collection_id = 1 ;
42- // The id of the requested data point.
43- string id = 2 ;
44- // If true, only the datapoint metadata is returned.
45- bool skip_data = 3 ;
46- }
47-
4815// QueryByIDRequest contains the request parameters for retrieving a single data point by its id.
4916message QueryByIDRequest {
5017 // 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.
@@ -135,11 +102,6 @@ message QueryResultPage {
135102
136103// DataAccessService provides data access and querying capabilities for Tilebox datasets.
137104service DataAccessService {
138- // legacy endpoint, kept around for backwards compatibility with older python clients for now
139- rpc GetDatasetForInterval (GetDatasetForIntervalRequest ) returns (DatapointPage ) {}
140- // legacy endpoint, kept around for backwards compatibility with older python clients for now
141- rpc GetDatapointByID (GetDatapointByIdRequest ) returns (Datapoint ) {}
142-
143105 // QueryByID returns a single data point by its ID.
144106 rpc QueryByID (QueryByIDRequest ) returns (Any ) {}
145107
0 commit comments