6.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 version, program, command and payload as arguments, where payload contains the request body.