json.total_count @result_object[:total_data].to_i
json.versions @result_object[:data].each do |version|
  json.id version['id']
  json.add_line_num version['add_line_num']
  json.del_line_num version['del_line_num']
  json.commits_count version['commits_count']
  json.files_count version['files_count']
  json.base_commit_sha version['base_commit_sha']
  json.head_commit_sha version['head_commit_sha']
  json.start_commit_sha version['start_commit_sha']
  json.created_time render_unix_time(version['created_at'])
  json.updated_time render_unix_time(version['updated_at'])
end