Rust API client for zerotier-one-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: 0.1.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
Documentation for API Endpoints
All URIs are relative to http://localhost:9993
Class | Method | HTTP request | Description |
---|---|---|---|
NetworkApi | delete_network | delete /network/{networkID} | Leave a network |
NetworkApi | get_network | get /network/{networkID} | Gets a joined Network by ID. |
NetworkApi | get_networks | get /network | Get all network memberships. |
NetworkApi | update_network | post /network/{networkID} | Join a network or update it's configuration |
PeerApi | get_peer | get /peer/{address} | Get information about a specific peer. |
PeerApi | get_peers | get /peer | Get all peers. |
StatusApi | get_status | get /status | Node status and addressing info. |
Documentation For Models
- Network
- NetworkAllOf
- NetworkAllOf1
- NetworkAllOf1Dns
- NetworkAllOf1MulticastSubscriptions
- Peer
- PeerPaths
- Status
- StatusConfig
- StatusConfigSettings
To get access to the crate's generated documentation, use:
cargo doc --open