json.status 0
json.message "success"
json.total_count @install_bots.size
json.repositories do
  json.array! @install_bots do |install_bot|
    project = Project.find_by(id: install_bot.store_id)
    if project.present?
      json.id install_bot.store_id
      json.url "#{base_url}/#{project.owner.login}/#{project.identifier}.git"
      json.identifier project.identifier
      json.name project.name
      json.description Nokogiri::HTML(project.description).text
      json.owner_name project.owner.login
      json.is_public project.is_public
    end
  end
end