Platform API
Pascal Friederich edited this page Jan 19, 2016
·
1 revision
All applications have PulseAudio server's socket directory mounted at /var/run/pulse/
. This is the default socket path and programs supporting PulseAudio should work out of the box.
The hardware manager can be accessed with a HTTP request to a unix socket mounted at /hardware/hardware.sock
.
The following endpoints are available:
-
/v1/network/default/ip
- shows the host's IP on the default network (typically LAN) -
/v1/hardware/list
- lists udev information about all devices present on the system
The following environmental variables are set within the application containers:
-
APP
-- name of the application, as used in the application URL