stats rest api test