add route for /v1/all_flags