2 releases
0.0.2 | Mar 8, 2024 |
---|---|
0.0.1 | Dec 22, 2023 |
#4 in #tembo
149 downloads per month
Used in tembo-cli
24KB
424 lines
Rust API client for tembodataclient
In the case of large or sensitive data, we avoid collecting it into Tembo Cloud. Instead, there is a Tembo Data API for each region, cloud, or private data plane.
To find the Tembo Cloud API, please find it here.
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: v0.0.1
- Package version: v0.0.1
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named tembodataclient
and add the following to Cargo.toml
under [dependencies]
:
tembodataclient = { path = "./tembodataclient" }
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
MetricsApi | query_range | GET /{namespace}/metrics/query_range | |
SecretsApi | get_secret | GET /{namespace}/secrets/{secret_name} | Please use /api/v1/orgs/{org_id}/instances/{instance_id}/secrets/{secret_name} |
SecretsApi | get_secret_names | GET /{namespace}/secrets | Please use /api/v1/orgs/{org_id}/instances/{instance_id}/secrets |
SecretsApi | get_secret_names_v1 | GET /api/v1/orgs/{org_id}/instances/{instance_id}/secrets | |
SecretsApi | get_secret_v1 | GET /api/v1/orgs/{org_id}/instances/{instance_id}/secrets/{secret_name} |
Documentation For Models
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~5–20MB
~229K SLoC