Thanks to visit codestin.com
Credit goes to github.com

Skip to content

UniFi Network and Protect API OpenAPI specifications

Notifications You must be signed in to change notification settings

beezly/unifi-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniFi API OpenAPI Specifications

This repository contains OpenAPI 3.1.0 specifications for UniFi Network and Protect APIs, automatically extracted from UniFi controllers.

Available Versions

UniFi Network API

13 version(s) available:

UniFi Protect API

9 version(s) available:

Directory Structure

unifi-network/
  ├── 10.1.85.json
  └── ...
unifi-protect/
  ├── 6.2.88.json
  └── ...

Usage

These OpenAPI specifications can be used to:

  • Generate API clients in various languages
  • Generate API documentation
  • Validate API requests and responses
  • Understand API capabilities and changes between versions

Generating Python Clients

# Install openapi-python-client
pip install openapi-python-client

# Generate Network API client
openapi-python-client generate --path unifi-network/10.1.85.json --output-path unifi-network-client

# Generate Protect API client
openapi-python-client generate --path unifi-protect/6.2.88.json --output-path unifi-protect-client

Notes

  • These specifications are automatically extracted from UniFi controllers
  • Specifications are in OpenAPI 3.1.0 format
  • Each version is stored as a separate file for easy comparison and version management
  • Updates are published automatically when new versions are detected

About

UniFi Network and Protect API OpenAPI specifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages