added REST endpoint to default topo example to let it work with the CLI