Workers
Register a new worker
Changed onPre-registers a worker by name, creates a pending DB row, and returns a single-use bootstrap token. The operator passes this token when starting the worker daemon (worker join --token <token>).
post/workers
Request
- Base URLhttps://localhost:8080/api/v1
- AuthAPI key in header Authorization
Request body
Response
Worker registered; token valid for 24 hours
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info