# 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: 1.0.0
- Package version: 1.0.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* | [**context_context_id_enable_service_get**](docs/DefaultApi.md#context_context_id_enable_service_get) | **GET** /context/{context_id}/enableService | enable service for context
*DefaultApi* | [**create_context**](docs/DefaultApi.md#create_context) | **POST** /context | create new context
*DefaultApi* | [**create_ingress**](docs/DefaultApi.md#create_ingress) | **POST** /ingress | create or update ingress
*DefaultApi* | [**create_job**](docs/DefaultApi.md#create_job) | **POST** /job/{job_id} | create job for async execution
*DefaultApi* | [**delete_context**](docs/DefaultApi.md#delete_context) | **DELETE** /context/{context_id} | delete context
*DefaultApi* | [**get_all_context**](docs/DefaultApi.md#get_all_context) | **GET** /context | get all contexts
*DefaultApi* | [**get_context**](docs/DefaultApi.md#get_context) | **GET** /context/{context_id} | get context information
*DefaultApi* | [**get_ingress**](docs/DefaultApi.md#get_ingress) | **GET** /ingress | get all ingress
*DefaultApi* | [**get_job_history**](docs/DefaultApi.md#get_job_history) | **GET** /job/{job_id} | get execution history
*DefaultApi* | [**issue_certificate**](docs/DefaultApi.md#issue_certificate) | **POST** /certificate | issue a certificate, the certificate will only be issued on the first name.
*DefaultApi* | [**pull_job_from_queue**](docs/DefaultApi.md#pull_job_from_queue) | **POST** /job | pull one job from the asyn job queue
## Documentation For Models
- [CreateContext200Response](docs/CreateContext200Response.md)
- [CreateContextRequest](docs/CreateContextRequest.md)
- [CreateIngressRequest](docs/CreateIngressRequest.md)
- [CreateJobRequest](docs/CreateJobRequest.md)
- [CreateJobRequestJobDefinition](docs/CreateJobRequestJobDefinition.md)
- [GetAllContext200Response](docs/GetAllContext200Response.md)
- [GetAllContext200ResponseContextsInner](docs/GetAllContext200ResponseContextsInner.md)
- [GetContext200Response](docs/GetContext200Response.md)
- [GetIngress200ResponseInner](docs/GetIngress200ResponseInner.md)
- [IssueCertificateRequest](docs/IssueCertificateRequest.md)
- [PullJobFromQueue200Response](docs/PullJobFromQueue200Response.md)
- [PullJobFromQueueRequest](docs/PullJobFromQueueRequest.md)
To get access to the crate's generated documentation, use:
```
cargo doc --open
```
## Author
jens@apimeister.com