4.1.2. HTTP/JSON¶

Rather than connecting directly to the control sockets, there is a JSON over HTTP endpoint that proxies calls to the respective programs’ control sockets. The JSON request body (called payload) and response are direct JSON representations of the respective Protobuf structures. The HTTP/JSON API takes program, command and payload as arguments, where payload contains the request body.