a more restful http api
flush run/attach responses