diff --git a/apis/accounts/v1alpha1/account.proto b/apis/accounts/v1alpha1/account.proto index c7dd89e..4282d5c 100644 --- a/apis/accounts/v1alpha1/account.proto +++ b/apis/accounts/v1alpha1/account.proto @@ -5,6 +5,7 @@ edition = "2023"; package accounts.v1alpha1; import "buf/validate/validate.proto"; +import "tilebox/v1/id.proto"; option features.field_presence = IMPLICIT; @@ -20,9 +21,9 @@ message AccountDetails { // The authentication method used to authenticate the request. AuthenticationMethod active_authentication_method = 5; // The canonical Tilebox user ID. - string user_id = 6 [(buf.validate.field).string.uuid = true]; + tilebox.v1.ID user_id = 6; // The canonical Tilebox organization ID. - string organization_id = 7 [(buf.validate.field).string.uuid = true]; + tilebox.v1.ID organization_id = 7; } // AuthenticationMethod describes the credential used to authenticate the request. diff --git a/apis/datasets/v1/datasets.proto b/apis/datasets/v1/datasets.proto index 7bd4332..2809c2b 100644 --- a/apis/datasets/v1/datasets.proto +++ b/apis/datasets/v1/datasets.proto @@ -82,25 +82,6 @@ message UpdateDatasetRequest { (buf.validate.field).string.max_len = 1000000 ]; } - -// ClientInfo contains information about the client requesting datasets, useful for us to gather usage data -message ClientInfo { - // name of the client, e.g. "python" - string name = 1; - // environment the client is running in, e.g. "JupyterLab using python 3.11.4" - string environment = 2; - // list of packages installed on the client - repeated Package packages = 3; -} - -// Package contains information about the installed version of a given package on the client -message Package { - // package name - string name = 1; - // package version - string version = 2; -} - // DeleteDatasetRequest is used to delete a dataset message DeleteDatasetRequest { // id of the dataset to delete. @@ -114,10 +95,7 @@ message DeleteDatasetResponse { } // ListDatasetsRequest is used to request a list of datasets -message ListDatasetsRequest { - // some information about the Tilebox client requesting the datasets - ClientInfo client_info = 1; -} +message ListDatasetsRequest {} // A list of datasets and dataset groups message ListDatasetsResponse {