json.status 0 json.message 'success' json.count @mark_files.count json.files do json.array! @mark_files do |file| json.sha file.file_path_sha json.name file.file_path json.mark_as_read file.mark_as_read json.updated_after_read file.updated_after_read end end