Уважаемые покупатели!
Оплата моторных масел и технических жидкостей через сайт временно недоступна.
Приносим извинения за доставленные неудобства.

Ubios-udapi-server ((new)) Direct

# Step 1: Get token from main OS TOKEN=$(curl -k -X POST https://192.168.1.1/api/auth/login \ -H 'Content-Type: application/json' \ -d '"username":"admin","password":"yourpass"' \ -c cookies.txt -b cookies.txt) # Step 2: Use UDAPI socket with same cookie curl --unix-socket /var/run/ubios-udapi-server/uds.sock \ -H "Cookie: $(grep -oP 'TOKEN=\K[^;]+' cookies.txt)" \ http://localhost/proxy/network/api/s/default/stat/health

For advanced users and developers, ubios-udapi-server is the key to local automation. While Ubiquiti pushes users toward their cloud-based APIs, many power users prefer local control for privacy and latency reasons. The ubios-udapi-server exposes a local API that can be interacted with via scripts (Python, curl, etc.). ubios-udapi-server

CMD ["node", "server.js"]

You may need to reinstall the ubios-udapi-server package via ubnt-systool , though this is rare. # Step 1: Get token from main OS

Продолжить покупкиОформить заказ

×

ПОЗВОНИТЬ

ubios-udapi-server

ДОБРАТЬСЯ

ubios-udapi-server

Заказать звонок