5 stable releases
1.0.4 | Oct 4, 2024 |
---|---|
1.0.3 | Aug 13, 2024 |
1.0.2 | May 13, 2024 |
1.0.1 | Mar 8, 2024 |
1.0.0 | Dec 19, 2023 |
#134 in HTTP client
136 downloads per month
Used in tembo-cli
140KB
2.5K
SLoC
Rust API client for temboclient
Platform API for Tembo Cloud
To find a Tembo Data API, please find it here:
AWS US East 1
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: v1.0.0
- Package version: v1.0.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named temboclient
and add the following to Cargo.toml
under [dependencies]
:
temboclient = { path = "./temboclient" }
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
AppApi | get_all_apps | GET /api/v1/apps | Attributes for all apps |
AppApi | get_app | GET /api/v1/apps/{type} | Get the attributes of a single App |
InstanceApi | create_instance | POST /api/v1/orgs/{org_id}/instances | Create a new Tembo instance |
InstanceApi | delete_instance | DELETE /api/v1/orgs/{org_id}/instances/{instance_id} | Delete an existing Tembo instance |
InstanceApi | get_all | GET /api/v1/orgs/{org_id}/instances | Get all Tembo instances in an organization |
InstanceApi | get_instance | GET /api/v1/orgs/{org_id}/instances/{instance_id} | Get an existing Tembo instance |
InstanceApi | get_schema | GET /api/v1/orgs/instances/schema | Get the json-schema for an instance |
InstanceApi | instance_event | POST /api/v1/orgs/{org_id}/instances/{instance_id} | Lifecycle events for a Tembo instance |
InstanceApi | patch_instance | PATCH /api/v1/orgs/{org_id}/instances/{instance_id} | Update attributes on an existing Tembo instance |
InstanceApi | put_instance | PUT /api/v1/orgs/{org_id}/instances/{instance_id} | Replace all attributes of an existing Tembo instance |
InstanceApi | restore_instance | POST /api/v1/orgs/{org_id}/restore | Restore a Tembo instance |
StackApi | get_all_entities | GET /api/v1/stacks | Attributes for all stacks |
StackApi | get_entity | GET /api/v1/stacks/{type} | Get the attributes of a single stack |
Documentation For Models
- AppConfig
- AppService
- AppType
- AppTypeOneOf
- AppTypeOneOf1
- AppTypeOneOf2
- AppTypeOneOf3
- AppTypeOneOf4
- AppTypeOneOf5
- ConnectionInfo
- ConnectionPooler
- Cpu
- CreateInstance
- EnvVar
- EnvVarRef
- Environment
- ErrorResponseSchema
- Extension
- ExtensionInstallLocation
- ExtensionInstallLocationStatus
- ExtensionStatus
- HeaderConfig
- Infrastructure
- Ingress
- IngressType
- Instance
- InstanceEvent
- IntOrString
- IntOrStringOneOf
- IntOrStringOneOf1
- Memory
- Middleware
- MiddlewareOneOf
- MiddlewareOneOf1
- MiddlewareOneOf2
- PatchInstance
- PgBouncer
- PgConfig
- PoolerPgbouncerPoolMode
- PoolerTemplateSpecContainersResources
- PoolerTemplateSpecContainersResourcesClaims
- Probe
- Probes
- ReplacePathRegexConfig
- ReplacePathRegexConfigType
- Resource
- ResourceRequirements
- Restore
- RestoreInstance
- Routing
- StackType
- State
- Storage
- StorageConfig
- StripPrefixConfig
- TrunkInstall
- TrunkInstallStatus
- UpdateInstance
- VolumeMount
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~5–17MB
~237K SLoC