From 634ce29aa80dd9509786adcdce1cc7f70f170992 Mon Sep 17 00:00:00 2001 From: Lukas Bindreiter Date: Mon, 12 Jan 2026 12:00:50 +0100 Subject: [PATCH] Allow GetDataset without a group --- apis/datasets/v1/datasets.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/datasets/v1/datasets.proto b/apis/datasets/v1/datasets.proto index 0686951..42b0708 100644 --- a/apis/datasets/v1/datasets.proto +++ b/apis/datasets/v1/datasets.proto @@ -35,7 +35,7 @@ message GetDatasetRequest { // slug of the dataset to be returned, e.g. "open_data.copernicus.sentinel1_sar" // it must contain at least one group and one dataset code name separated by a "." - string slug = 1 [(buf.validate.field).string.pattern = "^[a-z0-9_]+(\\.[a-z0-9_]+)+$"]; + string slug = 1 [(buf.validate.field).string.pattern = "^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$"]; // or alternatively a dataset id tilebox.v1.ID id = 2; }