Basin Catalog
List Basin Catalogs
client.BasinCatalog.List(ctx, query) (*BasinCatalogListResponse, error)
GET/accounts/{account_id}/basin-catalog
Get Basin Catalog details
client.BasinCatalog.Get(ctx, bucketName, query) (*BasinCatalogGetResponse, error)
GET/accounts/{account_id}/basin-catalog/{bucket_name}
Enable R2 bucket as a catalog
client.BasinCatalog.Enable(ctx, bucketName, body) (*BasinCatalogEnableResponse, error)
POST/accounts/{account_id}/basin-catalog/{bucket_name}/enable
Disable Basin Catalog
client.BasinCatalog.Disable(ctx, bucketName, body) error
POST/accounts/{account_id}/basin-catalog/{bucket_name}/disable
Delete Basin Catalog metadata
client.BasinCatalog.Delete(ctx, bucketName, params) error
POST/accounts/{account_id}/basin-catalog/{bucket_name}/delete
Basin CatalogMaintenance Configs
Get catalog maintenance configuration
client.BasinCatalog.MaintenanceConfigs.Get(ctx, bucketName, query) (*MaintenanceConfigGetResponse, error)
GET/accounts/{account_id}/basin-catalog/{bucket_name}/maintenance-configs
Update catalog maintenance configuration
client.BasinCatalog.MaintenanceConfigs.Update(ctx, bucketName, params) (*MaintenanceConfigUpdateResponse, error)
POST/accounts/{account_id}/basin-catalog/{bucket_name}/maintenance-configs
Basin CatalogCredentials
Store catalog credentials
client.BasinCatalog.Credentials.New(ctx, bucketName, params) (*CredentialNewResponse, error)
POST/accounts/{account_id}/basin-catalog/{bucket_name}/credential
Basin CatalogNamespaces
List namespaces in catalog
client.BasinCatalog.Namespaces.List(ctx, bucketName, params) (*NamespaceListResponse, error)
GET/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces
Basin CatalogNamespacesTables
List tables in namespace
client.BasinCatalog.Namespaces.Tables.List(ctx, bucketName, namespace, params) (*NamespaceTableListResponse, error)
GET/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables
Basin CatalogNamespacesTablesMaintenance Configs
Get table maintenance configuration
client.BasinCatalog.Namespaces.Tables.MaintenanceConfigs.Get(ctx, bucketName, namespace, tableName, query) (*NamespaceTableMaintenanceConfigGetResponse, error)
GET/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs
Update table maintenance configuration
client.BasinCatalog.Namespaces.Tables.MaintenanceConfigs.Update(ctx, bucketName, namespace, tableName, params) (*NamespaceTableMaintenanceConfigUpdateResponse, error)
POST/accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs