#api-client #generated-client #dtz #objectstore

dtz-objectstore

a generated client for the DTZ Objectstore API

4 stable releases

new 1.0.3 May 19, 2024
1.0.2 May 17, 2024
1.0.1 May 7, 2024
1.0.0 Apr 14, 2024

#1662 in Web programming

Download history 145/week @ 2024-04-13 11/week @ 2024-04-20 3/week @ 2024-04-27 163/week @ 2024-05-04 83/week @ 2024-05-11

264 downloads per month
Used in dtz

MIT/Apache

27KB
450 lines

Rust API client for dtz-objectstore

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

Installation

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

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

Documentation for API Endpoints

All URIs are relative to https://objectstore.dtz.rocks/api/2022-11-28

Class Method HTTP request Description
DefaultApi delete_object DELETE /obj/{objectPath} Delete object
DefaultApi disable_service POST /disable disable the objectstore service
DefaultApi enable_service POST /enable enable the objectstore service
DefaultApi get_object GET /obj/{objectPath} Get Object
DefaultApi get_object_metadata HEAD /obj/{objectPath} Get Object Metadata
DefaultApi list_objects GET /obj/ List objects
DefaultApi put_object PUT /obj/{objectPath} Put Object
DefaultApi stats GET /stats get service statistics

Documentation For Models

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

cargo doc --open

Author

jens@apimeister.com

Dependencies

~4–16MB
~231K SLoC