https://github.com/johnguan/zerotierone-openapi
Complete version of ZeroTierOne's OpenAPI
https://github.com/johnguan/zerotierone-openapi
axios typescript zerotier zerotier-api zerotier-controller zerotier-network zerotier-one
Last synced: about 1 month ago
JSON representation
Complete version of ZeroTierOne's OpenAPI
- Host: GitHub
- URL: https://github.com/johnguan/zerotierone-openapi
- Owner: JohnGuan
- License: apache-2.0
- Created: 2023-02-24T05:41:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T09:20:44.000Z (11 months ago)
- Last Synced: 2025-08-16T08:34:36.733Z (about 2 months ago)
- Topics: axios, typescript, zerotier, zerotier-api, zerotier-controller, zerotier-network, zerotier-one
- Homepage:
- Size: 42 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZeroTierOne OpenAPI
Complete version of ZeroTierOne's OpenAPI
> ⚠️ This is not an official document by ZeroTier Inc.
>
> 🤩 This is the full version with additions based on the official documentation and source code, especially the controller API.## API Client
### typescript-axios
> zerotierone-api-ts-axios
[


](https://www.npmjs.com/package/zerotierone-api-ts-axios)#### Install
```shell
npm i zerotierone-api-ts-axios
``````shell
yarn add zerotierone-api-ts-axios
```#### Usage
```typescript
import {
Configuration,
StatusApi,
NetworkApi,
ControllerApi,
PeerApi,
} from "zerotierone-api-ts-axios";// create configuration
const configuration = new Configuration({
basePath: "/path/to/your/backend",
});// export configured api instances
export const statusApi = new StatusApi(configuration);
export const networkApi = new NetworkApi(configuration);
export const controllerApi = new ControllerApi(configuration);
export const peerApi = new PeerApi(configuration);// export models and other exports
export * from "zerotierone-api-ts-axios";
```