GET /vars
Every shared variable with its value.
Details #
Returns an object of every shared variable (shared.mode, shared.count, ...) and its value.
curl -s -H "Authorization: Bearer $TOKEN" http://127.0.0.1:48080/vars
Parameters #
curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X GET http://localhost/vars
Every shared variable (the ones named shared.x in steps) with its value. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.