restful http api for barman