endpoints : change enum formatting / change to interface