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: 2.1.3
- Package version: 2.1.3
- 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-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