add endpoint_base views