response =
      if params[:id].present?
        Prefix.find_by_id(params[:id])
      else
        Prefix.query(