17 stable releases

new 1.0.16 Nov 6, 2024
1.0.15 Sep 11, 2024
1.0.14 Aug 18, 2024
1.0.13 Jul 20, 2024
1.0.3 Apr 30, 2024

#8 in #dtz

Download history 559/week @ 2024-07-17 146/week @ 2024-07-24 12/week @ 2024-07-31 23/week @ 2024-08-07 160/week @ 2024-08-14 86/week @ 2024-08-21 104/week @ 2024-08-28 42/week @ 2024-09-04 242/week @ 2024-09-11 118/week @ 2024-09-18 94/week @ 2024-09-25 36/week @ 2024-10-02 85/week @ 2024-10-09 151/week @ 2024-10-16 65/week @ 2024-10-23 39/week @ 2024-10-30

345 downloads per month
Used in dtz

MIT/Apache

57KB
944 lines

Rust API client for dtz-core

a generated client for the DTZ Core API

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: 1.0.16
  • Package version: 1.0.16
  • 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

Class Method HTTP request Description
DefaultApi context_context_id_enable_service_get GET /context/{context_id}/enableService enable service for context
DefaultApi create_context POST /context create new context
DefaultApi create_ingress POST /ingress/{domain}/{uri} create static content for ingress
DefaultApi create_root_ingress POST /ingress/{domain}/ create or update ingress
DefaultApi create_task POST /task/{task_id} create task for async execution
DefaultApi delete_context DELETE /context/{context_id} delete context
DefaultApi delete_ingress DELETE /ingress/{domain}/{uri} delete ingress
DefaultApi delete_root_ingress DELETE /ingress/{domain}/ delete ingress
DefaultApi get_context GET /context/{context_id} get context information
DefaultApi get_current_context GET /context get current context
DefaultApi get_ingress GET /ingress/{domain}/{uri} get ingress for '/' path
DefaultApi get_root_ingress GET /ingress/{domain}/ get ingress for '/' path
DefaultApi get_task_history GET /task/{task_id} get execution history
DefaultApi issue_certificate POST /certificate issue a certificate
DefaultApi list_ingress GET /ingress list all ingress
DefaultApi pull_task_from_queue POST /task pull one task from the async task queue
DefaultApi update_context POST /context/{context_id} update context

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

jens@apimeister.com

Dependencies

~5–18MB
~260K SLoC