json.extract! mercurial, :id, :ezii_os_global_path, :detected_app_type, :level, :created_at, :updated_at json.url mercurial_url(mercurial, format: :json)