15 stable releases

new 1.1.1 Nov 6, 2024
1.1.0 Sep 25, 2024
1.0.10 Jul 20, 2024
1.0.5 May 29, 2024
1.0.2 Apr 26, 2024

#75 in HTTP client

Download history 605/week @ 2024-07-17 59/week @ 2024-07-24 5/week @ 2024-07-31 13/week @ 2024-08-07 17/week @ 2024-08-14 11/week @ 2024-08-21 53/week @ 2024-08-28 121/week @ 2024-09-04 181/week @ 2024-09-11 38/week @ 2024-09-18 206/week @ 2024-09-25 24/week @ 2024-10-02 32/week @ 2024-10-09 59/week @ 2024-10-16 6/week @ 2024-10-23 6/week @ 2024-10-30

107 downloads per month
Used in dtz

MIT/Apache

53KB
909 lines

Rust API client for dtz-containers

a generated client for the DTZ Containers 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.1.1
  • Package version: 1.1.1
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named dtz-containers and add the following to Cargo.toml under [dependencies]:

dtz-containers = { path = "./dtz-containers" }

Documentation for API Endpoints

All URIs are relative to https://containers.dtz.rocks/api/2021-02-21

Class Method HTTP request Description
DefaultApi create_domain POST /domain create a new domain
DefaultApi create_job POST /job create new job
DefaultApi create_service POST /service create a new service hosting
DefaultApi delete_domain DELETE /domain/{domain_name} delete single domain
DefaultApi delete_job DELETE /job/{job_id} delete single job
DefaultApi delete_service DELETE /service/{serviceId} delete service
DefaultApi disable POST /disable disable the containers service
DefaultApi enable POST /enable enable the containers service
DefaultApi get_domain GET /domain/{domain_name} get single domain
DefaultApi get_domains GET /domain get all domains
DefaultApi get_job GET /job/{job_id} get single job
DefaultApi get_jobs GET /job list all jobs
DefaultApi get_service GET /service/{serviceId} get service
DefaultApi get_services GET /service get current container services
DefaultApi trigger_job PATCH /job/{job_id} trigger single job
DefaultApi update_job POST /job/{job_id} update single job
DefaultApi update_service POST /service/{serviceId} update service
DefaultApi verify_domain PATCH /domain/{domain_name} trigger domain verification

Documentation For Models

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

cargo doc --open

Author

jens@apimeister.com

Dependencies

~5–17MB
~251K SLoC