json.total_count @result_object[:total_data].to_i 
json.tags @result_object[:data].each do |tag| 
  json.partial! "api/v1/projects/tags/simple_gitea_index_detail", tag: tag
  json.has_release @release_tags.blank? ? false : @release_tags.include?(tag['name'])
end