1 stable release
1.0.0 | Apr 14, 2024 |
---|
#5 in #generated-client
185 downloads per month
Used in dtz
41KB
712 lines
Rust API client for dtz-observability
a generated client for the DTZ Observability 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.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-observability
and add the following to Cargo.toml
under [dependencies]
:
dtz-observability = { path = "./dtz-observability" }
Documentation for API Endpoints
All URIs are relative to https://observability.dtz.rocks/api/2021-12-21
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | get_log_activity | GET /log/activity | get log activity over time |
DefaultApi | get_log_attributes | GET /log/attribute | get log attributes |
DefaultApi | get_logs | GET /log | get logs |
DefaultApi | get_stats | GET /stats | get statistics |
DefaultApi | post_log | POST /log/push | push log data |
DefaultApi | post_metric | POST /metric | push metric data |
DefaultApi | post_prometheus | POST /prometheus | Push endpoint for prometheus data. |
DefaultApi | query_log_activity | POST /log/activity | get log activity over time filtered |
DefaultApi | query_logs | POST /log | query logs |
Documentation For Models
- DtzLogsInner
- GetLogActivity200ResponseInner
- GetLogAttributes200ResponseInner
- GetStats200Response
- PostLogRequestInner
- PostLogRequestInnerAttachmentsInner
- PostLogRequestInnerLinksInner
- PostMetricRequestInner
- QueryLogsRequest
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~4–18MB
~240K SLoC