mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 11:16:34 +00:00
Merge pull request #122 from resin-io/add-docs-intro
Add intro align with current resin.io docs
This commit is contained in:
commit
e061e855c8
@ -1,3 +1,11 @@
|
||||
# Interacting with the Resin Supervisor
|
||||
|
||||
The Resin Supervisor is resin.io's agent that runs on devices. Its main role is to ensure your app is running, and keep communications with the Resin API server.
|
||||
|
||||
The Supervisor itself has its own API, with means for user applications to communicate and execute some special actions that affect the host OS or the application itself. There are two main ways for the application to interact with the Supervisor: the update lockfile and the HTTP API.
|
||||
|
||||
Only Supervisors after version 1.1.0 have this functionality, and some of the endpoints appeared in later versions (we've noted it down where this is the case). Supervisor version 1.1.0 corresponds to OS images downloaded after October 14th 2015.
|
||||
|
||||
## HTTP API reference
|
||||
|
||||
The supervisor exposes an HTTP API on port 48484 (`RESIN_SUPERVISOR_PORT`).
|
||||
|
Loading…
Reference in New Issue
Block a user