'List endpoints with the effective association to a policy.'

@controller.protected()
def list_endpoints_for_policy(self, request, policy_id):

    self.policy_api.get_policy(policy_id)
    refs = self.endpoint_policy_api.list_endpoints_for_policy(policy_id)
    return EndpointPolicyV3Controller.wrap_collection(request.context_dict, refs)
