Skip to content
Open
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,23 @@ docs/ConnectionHealthResponse.md
docs/ConnectionInfo.md
docs/ConnectionRefreshResult.md
docs/ConnectionSchemaError.md
docs/ConnectionTypeDetail.md
docs/ConnectionTypeSummary.md
docs/ConnectionTypesApi.md
docs/ConnectionsApi.md
docs/CreateConnectionRequest.md
docs/CreateConnectionResponse.md
docs/CreateDatasetRequest.md
docs/CreateDatasetResponse.md
docs/CreateIndexRequest.md
docs/CreateSavedQueryRequest.md
docs/CreateSecretRequest.md
docs/CreateSecretResponse.md
docs/CreateWorkspaceRequest.md
docs/CreateWorkspaceResponse.md
docs/DatasetSource.md
docs/DatasetSummary.md
docs/DatasetVersionSummary.md
docs/DatasetsApi.md
docs/DiscoveryStatus.md
docs/Error.md
Expand All @@ -38,12 +43,18 @@ docs/GetConnectionResponse.md
docs/GetDatasetResponse.md
docs/GetResultResponse.md
docs/GetSecretResponse.md
docs/IndexInfoResponse.md
docs/IndexStatus.md
docs/IndexesApi.md
docs/InformationSchemaApi.md
docs/InformationSchemaResponse.md
docs/InlineData.md
docs/InlineDatasetSource.md
docs/ListConnectionTypesResponse.md
docs/ListConnectionsResponse.md
docs/ListDatasetVersionsResponse.md
docs/ListDatasetsResponse.md
docs/ListIndexesResponse.md
docs/ListQueryRunsResponse.md
docs/ListResultsResponse.md
docs/ListSavedQueriesResponse.md
Expand Down Expand Up @@ -89,8 +100,10 @@ docs/WorkspaceDetail.md
docs/WorkspaceListItem.md
docs/WorkspacesApi.md
src/apis/configuration.rs
src/apis/connection_types_api.rs
src/apis/connections_api.rs
src/apis/datasets_api.rs
src/apis/indexes_api.rs
src/apis/information_schema_api.rs
src/apis/mod.rs
src/apis/query_api.rs
Expand Down Expand Up @@ -120,29 +133,38 @@ src/models/connection_health_response.rs
src/models/connection_info.rs
src/models/connection_refresh_result.rs
src/models/connection_schema_error.rs
src/models/connection_type_detail.rs
src/models/connection_type_summary.rs
src/models/create_connection_request.rs
src/models/create_connection_response.rs
src/models/create_dataset_request.rs
src/models/create_dataset_response.rs
src/models/create_index_request.rs
src/models/create_saved_query_request.rs
src/models/create_secret_request.rs
src/models/create_secret_response.rs
src/models/create_workspace_request.rs
src/models/create_workspace_response.rs
src/models/dataset_source.rs
src/models/dataset_summary.rs
src/models/dataset_version_summary.rs
src/models/discovery_status.rs
src/models/error.rs
src/models/execute_saved_query_request.rs
src/models/get_connection_response.rs
src/models/get_dataset_response.rs
src/models/get_result_response.rs
src/models/get_secret_response.rs
src/models/index_info_response.rs
src/models/index_status.rs
src/models/information_schema_response.rs
src/models/inline_data.rs
src/models/inline_dataset_source.rs
src/models/list_connection_types_response.rs
src/models/list_connections_response.rs
src/models/list_dataset_versions_response.rs
src/models/list_datasets_response.rs
src/models/list_indexes_response.rs
src/models/list_query_runs_response.rs
src/models/list_results_response.rs
src/models/list_saved_queries_response.rs
Expand Down
14 changes: 14 additions & 0 deletions docs/ConnectionTypeDetail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ConnectionTypeDetail

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**auth** | Option<**serde_json::Value**> | | [optional]
**config_schema** | Option<**serde_json::Value**> | | [optional]
**label** | **String** | |
**name** | **String** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


12 changes: 12 additions & 0 deletions docs/ConnectionTypeSummary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ConnectionTypeSummary

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**label** | **String** | |
**name** | **String** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


67 changes: 67 additions & 0 deletions docs/ConnectionTypesApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# \ConnectionTypesApi

All URIs are relative to *https://app.hotdata.dev*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_connection_type**](ConnectionTypesApi.md#get_connection_type) | **GET** /v1/connection-types/{name} | Get connection type details
[**list_connection_types**](ConnectionTypesApi.md#list_connection_types) | **GET** /v1/connection-types | List connection types



## get_connection_type

> models::ConnectionTypeDetail get_connection_type(name)
Get connection type details

Get configuration schema and authentication requirements for a specific connection type.

### Parameters


Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**name** | **String** | Connection type name (e.g. postgres, mysql, snowflake) | [required] |

### Return type

[**models::ConnectionTypeDetail**](ConnectionTypeDetail.md)

### Authorization

[BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_connection_types

> models::ListConnectionTypesResponse list_connection_types()
List connection types

List all available connection types, including native sources and FlightDLT services.

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::ListConnectionTypesResponse**](ListConnectionTypesResponse.md)

### Authorization

[BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

16 changes: 16 additions & 0 deletions docs/CreateIndexRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# CreateIndexRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**index_name** | **String** | |
**index_type** | Option<**String**> | Index type: \"sorted\" (default), \"bm25\", or \"vector\" | [optional]
**metric** | Option<**String**> | Distance metric for vector indexes: \"l2\" (default), \"cosine\", or \"dot\". Only relevant when index_type = \"vector\". | [optional]
**sort_columns** | Option<**Vec<String>**> | | [optional]
**text_columns** | Option<**Vec<String>**> | Text columns for BM25 indexes | [optional]
**vector_columns** | Option<**Vec<String>**> | Vector column for vector indexes (exactly one entry required) | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 2 additions & 0 deletions docs/DatasetSummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Name | Type | Description | Notes
**created_at** | **String** | |
**id** | **String** | |
**label** | **String** | |
**latest_version** | **i32** | |
**pinned_version** | Option<**i32**> | | [optional]
**table_name** | **String** | |
**updated_at** | **String** | |

Expand Down
14 changes: 14 additions & 0 deletions docs/DatasetVersionSummary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# DatasetVersionSummary

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **String** | |
**id** | **String** | |
**source_type** | **String** | |
**version** | **i32** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


31 changes: 31 additions & 0 deletions docs/DatasetsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Method | HTTP request | Description
[**create_dataset**](DatasetsApi.md#create_dataset) | **POST** /v1/datasets | Create dataset
[**delete_dataset**](DatasetsApi.md#delete_dataset) | **DELETE** /v1/datasets/{id} | Delete dataset
[**get_dataset**](DatasetsApi.md#get_dataset) | **GET** /v1/datasets/{id} | Get dataset
[**list_dataset_versions**](DatasetsApi.md#list_dataset_versions) | **GET** /v1/datasets/{id}/versions | List dataset versions
[**list_datasets**](DatasetsApi.md#list_datasets) | **GET** /v1/datasets | List datasets
[**update_dataset**](DatasetsApi.md#update_dataset) | **PUT** /v1/datasets/{id} | Update dataset

Expand Down Expand Up @@ -98,6 +99,36 @@ Name | Type | Description | Required | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_dataset_versions

> models::ListDatasetVersionsResponse list_dataset_versions(id, limit, offset)
List dataset versions

### Parameters


Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **String** | Dataset ID | [required] |
**limit** | Option<**i32**> | Maximum number of versions (default: 100, max: 1000) | |
**offset** | Option<**i32**> | Pagination offset (default: 0) | |

### Return type

[**models::ListDatasetVersionsResponse**](ListDatasetVersionsResponse.md)

### Authorization

[BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_datasets

> models::ListDatasetsResponse list_datasets(limit, offset)
Expand Down
2 changes: 2 additions & 0 deletions docs/GetDatasetResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Name | Type | Description | Notes
**created_at** | **String** | |
**id** | **String** | |
**label** | **String** | |
**latest_version** | **i32** | |
**pinned_version** | Option<**i32**> | | [optional]
**schema_name** | **String** | |
**source_type** | **String** | |
**table_name** | **String** | |
Expand Down
19 changes: 19 additions & 0 deletions docs/IndexInfoResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# IndexInfoResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **String** | |
**index_name** | **String** | |
**index_type** | **String** | |
**metric** | Option<**String**> | Distance metric this index was built with. Only present for vector indexes. | [optional]
**sort_columns** | **Vec<String>** | |
**status** | [**models::IndexStatus**](IndexStatus.md) | |
**text_columns** | **Vec<String>** | |
**updated_at** | **String** | |
**vector_columns** | **Vec<String>** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


13 changes: 13 additions & 0 deletions docs/IndexStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# IndexStatus

## Enum Variants

| Name | Value |
|---- | -----|
| Ready | ready |
| Pending | pending |


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading
Loading