-
Notifications
You must be signed in to change notification settings - Fork 1
Platform API
Kamil Domański edited this page Nov 27, 2015
·
3 revisions
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