# Rust API client for dtz-core
a generated client for the DTZ Core API
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.
- API version: 2.3.2
- Package version: 2.3.2
- Generator version: 7.18.0
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`
## Installation
Put the package under your project folder in a directory named `dtz-core` and add the following to `Cargo.toml` under `[dependencies]`:
```
dtz-core = { path = "./dtz-core" }
```
## Documentation for API Endpoints
All URIs are relative to *https://dtz.rocks/api/2021-12-09*
*DefaultApi* | [**create_chat**](docs/DefaultApi.md#create_chat) | **POST** /chat | create a new chat by posting a message
*DefaultApi* | [**create_context**](docs/DefaultApi.md#create_context) | **POST** /context | create new context
*DefaultApi* | [**create_ingress**](docs/DefaultApi.md#create_ingress) | **POST** /ingress/{domain}/{uri} | create static content for ingress
*DefaultApi* | [**create_root_ingress**](docs/DefaultApi.md#create_root_ingress) | **POST** /ingress/{domain}/ | create or update ingress
*DefaultApi* | [**create_task**](docs/DefaultApi.md#create_task) | **POST** /task/{task_id} | create task for async execution
*DefaultApi* | [**delete_context**](docs/DefaultApi.md#delete_context) | **DELETE** /context/{context_id} | delete context
*DefaultApi* | [**delete_ingress**](docs/DefaultApi.md#delete_ingress) | **DELETE** /ingress/{domain}/{uri} | delete ingress
*DefaultApi* | [**delete_root_ingress**](docs/DefaultApi.md#delete_root_ingress) | **DELETE** /ingress/{domain}/ | delete ingress
*DefaultApi* | [**get_chat**](docs/DefaultApi.md#get_chat) | **GET** /chat/{chat_id} | get the full chat timeline
*DefaultApi* | [**get_context**](docs/DefaultApi.md#get_context) | **GET** /context/{context_id} | get context information
*DefaultApi* | [**get_current_context**](docs/DefaultApi.md#get_current_context) | **GET** /context | get current context
*DefaultApi* | [**get_ingress**](docs/DefaultApi.md#get_ingress) | **GET** /ingress/{domain}/{uri} | get ingress for '/' path
*DefaultApi* | [**get_root_ingress**](docs/DefaultApi.md#get_root_ingress) | **GET** /ingress/{domain}/ | get ingress for '/' path
*DefaultApi* | [**get_task_history**](docs/DefaultApi.md#get_task_history) | **GET** /task/{task_id} | get execution history
*DefaultApi* | [**issue_certificate**](docs/DefaultApi.md#issue_certificate) | **POST** /certificate | issue a certificate
*DefaultApi* | [**list_available_contexts**](docs/DefaultApi.md#list_available_contexts) | **GET** /identity/availableContexts | list all avaiable contexts
*DefaultApi* | [**list_chat**](docs/DefaultApi.md#list_chat) | **GET** /chat | list all chat threads for the current context
*DefaultApi* | [**list_ingress**](docs/DefaultApi.md#list_ingress) | **GET** /ingress | list all ingress
*DefaultApi* | [**pull_task_from_queue**](docs/DefaultApi.md#pull_task_from_queue) | **POST** /task | pull one task from the async task queue
*DefaultApi* | [**update_chat**](docs/DefaultApi.md#update_chat) | **POST** /chat/{chat_id} | add a new message to the chat
*DefaultApi* | [**update_context**](docs/DefaultApi.md#update_context) | **POST** /context/{context_id} | update context
## Documentation For Models
- [Chat](docs/Chat.md)
- [ChatPrivileges](docs/ChatPrivileges.md)
- [ChatResponseMessage](docs/ChatResponseMessage.md)
- [ChatTimelineInner](docs/ChatTimelineInner.md)
- [Container](docs/Container.md)
- [ContextResponse](docs/ContextResponse.md)
- [CreateChatRequest](docs/CreateChatRequest.md)
- [CreateContextRequest](docs/CreateContextRequest.md)
- [CreateIngressRequest](docs/CreateIngressRequest.md)
- [CreateTaskRequest](docs/CreateTaskRequest.md)
- [CreateTaskRequestTaskDefinition](docs/CreateTaskRequestTaskDefinition.md)
- [CreateTaskResponse](docs/CreateTaskResponse.md)
- [EncryptedValue](docs/EncryptedValue.md)
- [EnvironmentVariablesValue](docs/EnvironmentVariablesValue.md)
- [IngressResponse](docs/IngressResponse.md)
- [IssueCertificateRequest](docs/IssueCertificateRequest.md)
- [ListChat200ResponseInner](docs/ListChat200ResponseInner.md)
- [Login](docs/Login.md)
- [PullTaskFromQueueRequest](docs/PullTaskFromQueueRequest.md)
- [PullTaskResponse](docs/PullTaskResponse.md)
- [Rewrite](docs/Rewrite.md)
- [StaticContent](docs/StaticContent.md)
- [StaticContentHttp](docs/StaticContentHttp.md)
- [StaticContentHttpHeaderInner](docs/StaticContentHttpHeaderInner.md)
- [Validity](docs/Validity.md)
- [VolumeMount](docs/VolumeMount.md)
To get access to the crate's generated documentation, use:
```
cargo doc --open
```
## Author
jens@apimeister.com