rename path to endpoint