You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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
|