Baler Auth API
string · requiredstring · pattern: string | nullstring · required
string · requiredstring · required
The org's edge-node MQTT broker accounts
GET
http://localhost:8080/auth
/broker-accounts
admin-only. Per-site accounts for Windrows publishing from outside this host. Each may publish only under its site's topic prefixes and use its own command channel cmd/<username>/#. Passwords are never returned here.
The org's edge-node MQTT broker accounts › Responses
Accounts, and where nodes connect.
Where an edge node connects (BALER_MQTT_PUBLIC_* in .env).
Create an edge-node broker account for a site
POST
http://localhost:8080/auth
/broker-accounts
admin-only. The site needs at least one topic prefix. The generated password is returned once.
Create an edge-node broker account for a site › Request Body
site_idusername^[a-z0-9][a-z0-9._-]… · requireddescriptionCreate an edge-node broker account for a site › Responses
Created.
BrokerAccount · required
passwordShown once.
Where an edge node connects (BALER_MQTT_PUBLIC_* in .env).
Give an edge node a new password
POST
http://localhost:8080/auth
/broker-accounts/{id}/rotate
admin-only. The old password stops working immediately; returned once.
path Parameters
idGive an edge node a new password › Responses
Rotated.
BrokerAccount · required
passwordShown once.
Where an edge node connects (BALER_MQTT_PUBLIC_* in .env).

