[{"data":1,"prerenderedAt":2098},["ShallowReactive",2],{"navigation":3,"-docs-working-with-the-rest-api-tools-ping":459,"-docs-working-with-the-rest-api-tools-ping-description":914,"code-example-toolsPingAction-false":925},[4],{"title":5,"path":6,"stem":7,"children":8,"page":47},"Docs","\u002Fdocs","docs",[9,78,351],{"title":10,"path":11,"stem":12,"children":13,"restApiVersion":15,"category":15,"description":15,"badge":15},"Начало работы","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[14,17,48,63],{"title":10,"path":11,"stem":12,"restApiVersion":15,"category":15,"description":16,"badge":15},null,"Краткое руководство по работе с SDK для REST API Bitrix24",{"title":18,"path":19,"stem":20,"children":21,"page":47},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation",[22,27,32,37,42],{"title":23,"path":24,"stem":25,"restApiVersion":15,"category":15,"description":26,"badge":15},"Vue","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fvue","docs\u002F1.getting-started\u002F2.installation\u002F1.vue","Руководство по установке Bitrix24 JS SDK в приложениях Vue.",{"title":28,"path":29,"stem":30,"restApiVersion":15,"category":15,"description":31,"badge":15},"Nuxt","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fnuxt","docs\u002F1.getting-started\u002F2.installation\u002F2.nuxt","Руководство по установке Bitrix24 JS SDK в приложениях Nuxt.",{"title":33,"path":34,"stem":35,"restApiVersion":15,"category":15,"description":36,"badge":15},"React","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Freact","docs\u002F1.getting-started\u002F2.installation\u002F3.react","Руководство по установке Bitrix24 JS SDK в приложениях React.",{"title":38,"path":39,"stem":40,"restApiVersion":15,"category":15,"description":41,"badge":15},"Node.js","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fnodejs","docs\u002F1.getting-started\u002F2.installation\u002F4.nodejs","Руководство по установке Bitrix24 JS SDK в приложениях Node.js.",{"title":43,"path":44,"stem":45,"restApiVersion":15,"category":15,"description":46,"badge":15},"UMD","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fumd","docs\u002F1.getting-started\u002F2.installation\u002F5.umd","Руководство по использованию UMD-версии Bitrix24 JS SDK в ваших приложениях.",false,{"title":49,"restApiVersion":15,"category":15,"description":15,"badge":15,"shadow":47,"path":50,"stem":51,"children":52,"page":47},"Migration","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F3.migration",[53,58],{"title":54,"path":55,"stem":56,"restApiVersion":15,"category":15,"description":57,"badge":15},"v0 → v1","\u002Fdocs\u002Fgetting-started\u002Fmigration\u002Fv1","docs\u002F1.getting-started\u002F3.migration\u002F1.v1","Подробное руководство по миграции приложения с Bitrix24 JS SDK v0 на Bitrix24 JS SDK v1.",{"title":59,"path":60,"stem":61,"restApiVersion":15,"category":15,"description":62,"badge":15},"v2 → v3","\u002Fdocs\u002Fgetting-started\u002Fmigration\u002Fv3","docs\u002F1.getting-started\u002F3.migration\u002F2.v3","Как уйти с устаревшей REST-поверхности, которая удаляется в Bitrix24 JS SDK 3.0.0.",{"title":64,"restApiVersion":15,"category":15,"description":15,"badge":15,"path":65,"stem":66,"children":67,"page":47},"AI-инструменты","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai",[68,73],{"title":69,"path":70,"stem":71,"restApiVersion":15,"category":15,"description":72,"badge":15},"Навыки","\u002Fdocs\u002Fgetting-started\u002Fai\u002Fskills","docs\u002F1.getting-started\u002F7.ai\u002F1.skills","Узкоспециализированные skill-файлы для AI-агентов разработчика, работающих с @bitrix24\u002Fb24jssdk.",{"title":74,"path":75,"stem":76,"restApiVersion":15,"category":15,"description":77,"badge":15},"LLMs.txt","\u002Fdocs\u002Fgetting-started\u002Fai\u002Fllms-txt","docs\u002F1.getting-started\u002F7.ai\u002F2.llms-txt","Как сделать, чтобы AI-инструменты вроде Cursor, Windsurf, GitHub Copilot, ChatGPT и Claude понимали методы, инструменты и лучшие практики Bitrix24 JS SDK.",{"title":79,"path":80,"stem":81,"children":82,"restApiVersion":15,"category":15,"description":15,"badge":15},"Работа с REST API","\u002Fdocs\u002Fworking-with-the-rest-api","docs\u002F2.working-with-the-rest-api\u002F0.index",[83,86,93,98,103,107,112,116,121,126,130,135,140,145,150,155,160,165,170,175,179,184,189,194,200,205,210,215,220,225,230,235,240,245,251,256,261,267,272,277,282,287,293,299,305,310,315,320,326,331,336,341,346],{"title":84,"path":80,"stem":81,"restApiVersion":15,"category":15,"description":85,"badge":15},"Введение","Обзор возможностей SDK для работы с REST API Bitrix24",{"title":87,"path":88,"stem":89,"restApiVersion":90,"category":91,"description":92,"badge":15},"Call","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F1.call-rest-api-ver2","rest-api-ver2","actions","Метод для вызовов REST API Bitrix24 версии 2.",{"title":87,"path":94,"stem":95,"restApiVersion":96,"category":91,"description":97,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F1.call-rest-api-ver3","rest-api-ver3","Метод для вызовов REST API Bitrix24 версии 3.",{"title":99,"path":100,"stem":101,"restApiVersion":90,"category":91,"description":102,"badge":15},"CallList","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-list-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F2.call-list-rest-api-ver2","Метод для быстрого получения всех данных из list-методов REST API Bitrix24 версии 2.",{"title":99,"path":104,"stem":105,"restApiVersion":96,"category":91,"description":106,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-list-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F2.call-list-rest-api-ver3","Метод для быстрого получения всех данных из list-методов REST API Bitrix24 версии 3.",{"title":108,"path":109,"stem":110,"restApiVersion":90,"category":91,"description":111,"badge":15},"FetchList","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ffetch-list-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F2.fetch-list-rest-api-ver2","Возвращает AsyncGenerator, позволяющий обрабатывать данные из list-методов REST API Bitrix24 версии 2 по мере поступления, не загружая весь массив в память сразу. Особенно полезно при работе с очень большими объёмами данных.",{"title":108,"path":113,"stem":114,"restApiVersion":96,"category":91,"description":115,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Ffetch-list-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F2.fetch-list-rest-api-ver3","Возвращает AsyncGenerator, позволяющий обрабатывать данные из list-методов REST API Bitrix24 версии 3 по мере поступления, не загружая весь массив в память сразу. Особенно полезно при работе с очень большими объёмами данных.",{"title":117,"path":118,"stem":119,"restApiVersion":15,"category":117,"description":120,"badge":15},"B24Hook","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhook","docs\u002F2.working-with-the-rest-api\u002F20.hook","Серверная точка входа для работы с REST API Bitrix24 через входящий вебхук (постоянный токен).",{"title":122,"path":123,"stem":124,"restApiVersion":90,"category":91,"description":125,"badge":15},"Batch","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fbatch-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F3.batch-rest-api-ver2","Метод для выполнения пакетных запросов к REST API Bitrix24 версии 2. Позволяет выполнить до 50 команд в одном API-вызове.",{"title":122,"path":127,"stem":128,"restApiVersion":96,"category":91,"description":129,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fbatch-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F3.batch-rest-api-ver3","Метод для выполнения пакетных запросов к REST API Bitrix24 версии 3. Позволяет выполнить до 50 команд в одном API-вызове.",{"title":84,"path":131,"stem":132,"restApiVersion":15,"category":133,"description":134,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe","docs\u002F2.working-with-the-rest-api\u002F30.frame","B24Frame","Предназначен для управления приложениями Bitrix24, работающими внутри placement-iframe. Наследуется от AbstractB24 и предоставляет менеджеры для аутентификации, обмена сообщениями с родительским окном, слайдеров, диалогов, placement и опций.",{"title":136,"path":137,"stem":138,"restApiVersion":15,"category":133,"description":139,"badge":15},"Инициализация","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-initialize-b24-frame","docs\u002F2.working-with-the-rest-api\u002F30.frame-initialize-b24-frame","Функция предназначена для инициализации B24Frame",{"title":141,"path":142,"stem":143,"restApiVersion":15,"category":133,"description":144,"badge":15},"Авторизация","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-auth","docs\u002F2.working-with-the-rest-api\u002F31.frame-auth","Предназначен для управления аутентификацией в приложениях Bitrix24. Обрабатывает данные аутентификации, полученные от родительского окна, и предоставляет методы для их обновления и получения.",{"title":146,"path":147,"stem":148,"restApiVersion":15,"category":133,"description":149,"badge":15},"Диалог","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-dialog","docs\u002F2.working-with-the-rest-api\u002F31.frame-dialog","Оборачивает системные диалоги BX24 (выбор пользователя, выбор прав доступа, выбор CRM-сущности), чтобы их можно было открывать изнутри iframe приложения Bitrix24.",{"title":151,"path":152,"stem":153,"restApiVersion":15,"category":133,"description":154,"badge":15},"Опции","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-options","docs\u002F2.working-with-the-rest-api\u002F31.frame-options","Используется для управления настройками приложения и пользователя в приложении Bitrix24. Позволяет инициализировать данные, получать и устанавливать опции через сообщения родительскому окну.",{"title":156,"path":157,"stem":158,"restApiVersion":15,"category":133,"description":159,"badge":15},"Родительское окно","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-parent","docs\u002F2.working-with-the-rest-api\u002F31.frame-parent","Предоставляет методы для управления родительским окном приложения в Bitrix24, включая изменение размера окна, управление прокруткой, инициацию звонков и открытие мессенджера.",{"title":161,"path":162,"stem":163,"restApiVersion":15,"category":133,"description":164,"badge":15},"Placement","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-placement","docs\u002F2.working-with-the-rest-api\u002F31.frame-placement","Используется для управления placement виджетов в приложении Bitrix24.",{"title":166,"path":167,"stem":168,"restApiVersion":15,"category":133,"description":169,"badge":15},"Слайдер","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-slider","docs\u002F2.working-with-the-rest-api\u002F31.frame-slider","Предоставляет методы для работы со слайдерами в приложении Bitrix24. Позволяет открывать и закрывать слайдеры, а также управлять их содержимым.",{"title":171,"path":172,"stem":173,"restApiVersion":90,"category":91,"description":174,"badge":15},"BatchByChunk","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fbatch-by-chunk-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F4.batch-by-chunk-rest-api-ver2","Метод для выполнения пакетных запросов с автоматическим разбиением на чанки для любого числа команд. Автоматически делит большие наборы команд на батчи по 50 и выполняет их последовательно. Используйте только массивы кортежей или массивы объектов.",{"title":171,"path":176,"stem":177,"restApiVersion":96,"category":91,"description":178,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fbatch-by-chunk-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F4.batch-by-chunk-rest-api-ver3","Метод для выполнения пакетных запросов к REST API Bitrix24 версии 3 с автоматическим разбиением на чанки для любого числа команд. Автоматически делит большие наборы команд на батчи по 50 и выполняет их последовательно. Используйте только массивы кортежей или массивы объектов.",{"title":180,"path":181,"stem":182,"restApiVersion":15,"category":180,"description":183,"badge":15},"B24OAuth","\u002Fdocs\u002Fworking-with-the-rest-api\u002Foauth","docs\u002F2.working-with-the-rest-api\u002F40.oauth","Серверная точка входа для работы с REST API Bitrix24 по access token OAuth 2.0 (с автоматическим обновлением).",{"title":185,"path":186,"stem":187,"restApiVersion":15,"category":15,"description":188,"badge":15},"Выбор метода","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fchoosing-the-right-method","docs\u002F2.working-with-the-rest-api\u002F5.choosing-the-right-method","Руководство по выбору между Call, CallList, FetchList, Batch и BatchByChunk в REST API v2 и v3.",{"title":190,"path":191,"stem":192,"restApiVersion":15,"category":15,"description":193,"badge":15},"Фильтрация","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ffiltering","docs\u002F2.working-with-the-rest-api\u002F5.filtering","Справочник по построению параметров фильтра в Bitrix24 REST API v2 (префиксные операторы) и v3 (массив троек), включая формат дат и правило отбрасывания order.",{"title":195,"path":196,"stem":197,"restApiVersion":15,"category":198,"description":199,"badge":15},"B24HelperManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper","docs\u002F2.working-with-the-rest-api\u002F50.helper","Helper","Агрегирующий менеджер, который загружает данные профиля, приложения, оплаты, лицензии, валют и опций одним батч-запросом REST, а также подключает Pull-клиент.",{"title":201,"path":202,"stem":203,"restApiVersion":15,"category":198,"description":204,"badge":15},"useB24Helper","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-use-b24-helper","docs\u002F2.working-with-the-rest-api\u002F51.helper-use-b24-helper","Основанный на замыкании composable, который владеет единственным экземпляром B24HelperManager и предоставляет хелперы жизненного цикла (init \u002F destroy \u002F связка с Pull-клиентом).",{"title":206,"path":207,"stem":208,"restApiVersion":15,"category":198,"description":209,"badge":15},"ProfileManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-profile-manager","docs\u002F2.working-with-the-rest-api\u002F52.helper-profile-manager","Разобранный ответ REST-метода `profile`: id, имя, фамилия, пол, фото, часовой пояс, флаг администратора.",{"title":211,"path":212,"stem":213,"restApiVersion":15,"category":198,"description":214,"badge":15},"AppManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-app-manager","docs\u002F2.working-with-the-rest-api\u002F53.helper-app-manager","Разобранный ответ REST-метода `app.info`: id приложения, код, версия, статус, флаг установки.",{"title":216,"path":217,"stem":218,"restApiVersion":15,"category":198,"description":219,"badge":15},"PaymentManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-payment-manager","docs\u002F2.working-with-the-rest-api\u002F54.helper-payment-manager","Статус оплаты приложения Bitrix24 — извлекается из `app.info`.",{"title":221,"path":222,"stem":223,"restApiVersion":15,"category":198,"description":224,"badge":15},"LicenseManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-license-manager","docs\u002F2.working-with-the-rest-api\u002F55.helper-license-manager","Информация о лицензии Bitrix24 из `app.info` — и автоматическая перенастройка менеджера ограничений под соответствующий тарифный план.",{"title":226,"path":227,"stem":228,"restApiVersion":15,"category":198,"description":229,"badge":15},"CurrencyManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-currency-manager","docs\u002F2.working-with-the-rest-api\u002F56.helper-currency-manager","Каталог валют, кэшируемый в памяти — базовая валюта, форматтеры для каждой валюты и форматтер числа в строку.",{"title":231,"path":232,"stem":233,"restApiVersion":15,"category":198,"description":234,"badge":15},"OptionsManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-options-manager","docs\u002F2.working-with-the-rest-api\u002F57.helper-options-manager","Типизированный доступ к `app.option.get` \u002F `user.option.get`, плюс save(), который батчит `*.option.set` с необязательным Pull-уведомлением.",{"title":236,"path":237,"stem":238,"restApiVersion":15,"category":15,"description":239,"badge":15},"Ошибки","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ferrors","docs\u002F2.working-with-the-rest-api\u002F6.errors","Справочник кодов SdkError и AjaxError, выбрасываемых SDK, плюс коды ошибок REST Bitrix24, которые через них проявляются.",{"title":241,"path":242,"stem":243,"restApiVersion":15,"category":241,"description":244,"badge":15},"Pull","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fpull","docs\u002F2.working-with-the-rest-api\u002F60.pull","Поток сообщений в реальном времени от Bitrix24 к вашему приложению — WebSocket как основной канал, long-polling как запасной. Только для фрейма.",{"title":246,"path":247,"stem":248,"restApiVersion":15,"category":249,"description":250,"badge":15},"Logger","\u002Fdocs\u002Fworking-with-the-rest-api\u002Flogger","docs\u002F2.working-with-the-rest-api\u002F66.logger","logger","Логгер, вдохновлённый PHP Monolog, предоставляет структурированную систему логирования с поддержкой каналов, обработчиков, процессоров и форматтеров. Реализация следует принципам PSR-3 и паттерну цепочки ответственности.",{"title":252,"path":253,"stem":254,"restApiVersion":15,"category":249,"description":255,"badge":15},"Telegram","\u002Fdocs\u002Fworking-with-the-rest-api\u002Flogger-telegram","docs\u002F2.working-with-the-rest-api\u002F66.logger-telegram","Отправка логов в Telegram",{"title":257,"path":258,"stem":259,"restApiVersion":15,"category":15,"description":260,"badge":15},"Обнаружение v3-методов","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fdiscovering-v3-methods","docs\u002F2.working-with-the-rest-api\u002F7.discovering-v3-methods","Используйте rest.documentation.openapi, чтобы получить собственный машиночитаемый список всех доступных методов REST API v3 портала — источник истины, на который SDK опирается вместо захардкоженного allowlist. Особенно полезно для AI-агентов и кодогенерации.",{"title":262,"path":263,"stem":264,"restApiVersion":15,"category":265,"description":266,"badge":15},"AjaxResult","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-ajax-result","docs\u002F2.working-with-the-rest-api\u002F70.core-ajax-result","Core","Специализированный Result, возвращаемый каждым REST-хелпером. Предоставляет `isMore() \u002F getNext() \u002F getTotal() \u002F getStatus()` для постраничных ответов и неизменяемые данные.",{"title":268,"path":269,"stem":270,"restApiVersion":15,"category":265,"description":271,"badge":15},"Http","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-http","docs\u002F2.working-with-the-rest-api\u002F70.core-http","Низкоуровневый интерфейс транспорта, возвращаемый `b24.getHttpClient(version)`. Прямой доступ к axios-клиентам, параметрам ограничений, статистике и сбросу.",{"title":273,"path":274,"stem":275,"restApiVersion":15,"category":265,"description":276,"badge":15},"B24LangList","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-lang-list","docs\u002F2.working-with-the-rest-api\u002F70.core-lang-list","Enum языков интерфейса облачного Bitrix24 плюс карта локалей BCP-47.",{"title":278,"path":279,"stem":280,"restApiVersion":15,"category":265,"description":281,"badge":15},"RequestIdGenerator","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-request-id-generator","docs\u002F2.working-with-the-rest-api\u002F70.core-request-id-generator","Реализация `IRequestIdGenerator` по умолчанию. Генерирует request id в формате UUID v7 и предоставляет имена HTTP-заголовка \u002F query-параметра, используемые SDK.",{"title":283,"path":284,"stem":285,"restApiVersion":15,"category":265,"description":286,"badge":15},"Result","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-result","docs\u002F2.working-with-the-rest-api\u002F70.core-result","Обобщённый результат операции с флагом успеха, данными и картой ошибок. Аналог \\\\Bitrix\\\\Main\\\\Result из Bitrix Framework.",{"title":288,"path":289,"stem":290,"restApiVersion":15,"category":291,"description":292,"badge":15},"Лимитеры","\u002Fdocs\u002Fworking-with-the-rest-api\u002Flimiters","docs\u002F2.working-with-the-rest-api\u002F77.limiters","limiters","Система ограничений предоставляет комплексный механизм управления частотой запросов, временем выполнения операций и адаптивными задержками.",{"title":294,"path":295,"stem":296,"restApiVersion":15,"category":297,"description":298,"badge":15},"Логирование и редактирование","\u002Fdocs\u002Fworking-with-the-rest-api\u002Flogging","docs\u002F2.working-with-the-rest-api\u002F78.logging","logging","Что SDK редактирует автоматически до того, как информация о запросе попадёт в логгер или AjaxError, что он не редактирует, и как подключить кастомный логгер через setLogger(...) без повторного появления утечек учётных данных.",{"title":300,"path":301,"stem":302,"restApiVersion":15,"category":303,"description":304,"badge":15},"Browser","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-browser","docs\u002F2.working-with-the-rest-api\u002F80.tools-browser","tools","Дешёвый детектор user-agent \u002F платформы \u002F возможностей. Полезен для runtime-ветвлений во фронтенд-коде.",{"title":306,"path":307,"stem":308,"restApiVersion":15,"category":303,"description":309,"badge":15},"Text","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-text","docs\u002F2.working-with-the-rest-api\u002F80.tools-text","Утилиты для текста и дат — UUID v4 \u002F v7, кодирование \u002F декодирование HTML-сущностей, преобразования типов, хелперы регистра, `toDateTime` \u002F `toB24Format` на Luxon, форматирование чисел и конструктор query-строки.",{"title":311,"path":312,"stem":313,"restApiVersion":15,"category":303,"description":314,"badge":15},"Type","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-type","docs\u002F2.working-with-the-rest-api\u002F80.tools-type","Runtime type guards — строки, числа, обычные объекты, массивы, DOM-узлы, Blob, FormData, формы JSON-RPC сообщений.",{"title":316,"path":317,"stem":318,"restApiVersion":15,"category":303,"description":319,"badge":15},"useFormatter","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-use-formatters","docs\u002F2.working-with-the-rest-api\u002F80.tools-use-formatters","Composable, возвращающий общие экземпляры `FormatterNumbers` и `FormatterIban`, преднастроенные спецификациями стран.",{"title":321,"path":322,"stem":323,"restApiVersion":15,"category":324,"description":325,"badge":15},"IResult","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftypes-iresult","docs\u002F2.working-with-the-rest-api\u002F90.types-iresult","Types","Обобщённый интерфейс результата операции. Реализуется `Result\u003CT>` и (транзитивно) `AjaxResult\u003CT>`.",{"title":327,"path":328,"stem":329,"restApiVersion":15,"category":324,"description":330,"badge":15},"TypeB24","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftypes-type-b24","docs\u002F2.working-with-the-rest-api\u002F90.types-type-b24","Публичный контракт, реализуемый каждым классом-точкой входа (B24Frame, B24Hook, B24OAuth). Единый источник истины для поверхности SDK.",{"title":332,"path":333,"stem":334,"restApiVersion":15,"category":265,"description":335,"badge":15},"Телеметрия","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftelemetry","docs\u002F2.working-with-the-rest-api\u002F95.telemetry","Query-параметры request id, версии SDK и типа SDK, добавляемые к каждому REST-вызову Bitrix24.",{"title":337,"path":338,"stem":339,"restApiVersion":15,"category":265,"description":340,"badge":15},"Коды ошибок","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ferror-codes","docs\u002F2.working-with-the-rest-api\u002F96.error-codes","Каталог кодов ошибок, которые распознаёт SDK — разделённых на «hard» (выбрасываются) и «soft» (возвращаются как AjaxError внутри AjaxResult).",{"title":342,"path":343,"stem":344,"restApiVersion":15,"category":303,"description":345,"badge":15},"HealthCheck","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-health-check","docs\u002F2.working-with-the-rest-api\u002Ftools-health-check","Метод для проверки доступности REST API Bitrix24. Выполняет простой запрос к REST API для проверки работоспособности сервиса.",{"title":347,"path":348,"stem":349,"restApiVersion":15,"category":303,"description":350,"badge":15},"Ping","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-ping","docs\u002F2.working-with-the-rest-api\u002Ftools-ping","Метод для измерения скорости ответа REST API Bitrix24. Выполняет тестовый запрос и возвращает время ответа в миллисекундах.",{"title":352,"path":353,"stem":354,"children":355,"restApiVersion":15,"category":15,"description":15,"badge":15},"Примеры","\u002Fdocs\u002Fexamples","docs\u002F99.examples\u002F0.index",[356,358,364,369,374,379,384,389,394,399,404,409,414,419,424,429,434,439,444,449,454],{"title":84,"path":353,"stem":354,"restApiVersion":15,"category":15,"description":357,"badge":15},"Рецепты, сочетающие SDK с реалистичными сценариями — аналитика CRM, массовые рассылки, AI-ассистенты, установка по OAuth и не только. Каждый рецепт — отдельный файл, удобный для копирования.",{"title":359,"path":360,"stem":361,"restApiVersion":15,"category":362,"description":363,"badge":15},"Аналитика CRM","\u002Fdocs\u002Fexamples\u002Fcrm-analytics","docs\u002F99.examples\u002F1.crm-analytics","examples","Стримит все сделки через actions.v2.fetchList.make, группирует по стадиям, печатает отчёт по воронке (количество, конверсия %, средний чек, win rate).",{"title":365,"path":366,"stem":367,"restApiVersion":15,"category":362,"description":368,"badge":15},"Сделки → CSV","\u002Fdocs\u002Fexamples\u002Fdashboard-deals-csv","docs\u002F99.examples\u002F1.dashboard-deals-csv","Стримит каждую сделку CRM, подходящую под фильтр по дате, в CSV-файл через вебхук и FetchListV2.",{"title":370,"path":371,"stem":372,"restApiVersion":15,"category":15,"description":373,"badge":15},"Список сущностей","\u002Fdocs\u002Fexamples\u002Fentity-list","docs\u002F99.examples\u002F10.entity-list","Рендерит постраничный список сущностей Bitrix24 с компонентами B24UI и SDK-действием callList.",{"title":375,"path":376,"stem":377,"restApiVersion":15,"category":362,"description":378,"badge":15},"Обработка ошибок","\u002Fdocs\u002Fexamples\u002Ferror-handling","docs\u002F99.examples\u002F10.error-handling","Демонстрирует четыре слоя ошибок (SdkError \u002F AjaxError \u002F сетевые \u002F soft) и настройки hardErrorCodes \u002F softErrorCodes \u002F retryOnNetworkError у менеджера ограничений.",{"title":380,"path":381,"stem":382,"restApiVersion":15,"category":362,"description":383,"badge":15},"Регистрация событий","\u002Fdocs\u002Fexamples\u002Fevent-registration","docs\u002F99.examples\u002F11.event-registration","CLI-инструмент — список, привязка и отвязка исходящих событий вебхуков Bitrix24 через event.get \u002F event.bind \u002F event.unbind. В паре с рецептом обработчика вебхуков.",{"title":385,"path":386,"stem":387,"restApiVersion":15,"category":362,"description":388,"badge":15},"Установка OAuth","\u002Fdocs\u002Fexamples\u002Foauth-install","docs\u002F99.examples\u002F12.oauth-install","Express-сервер, который обрабатывает события ONAPPINSTALL \u002F ONAPPUPDATE \u002F ONAPPUNINSTALL для маркетплейс-приложения Bitrix24, сохраняет токены по порталам и создаёт клиент B24OAuth по требованию с callback обновления, подключённым к хранилищу.",{"title":390,"path":391,"stem":392,"restApiVersion":15,"category":362,"description":393,"badge":15},"Скелет frame-приложения","\u002Fdocs\u002Fexamples\u002Fframe-app-skeleton","docs\u002F99.examples\u002F2.frame-app-skeleton","Минимально жизнеспособное iframe-приложение Bitrix24: рукопожатие init, установка заголовка, сохранение состояния приложения, открытие слайдера, чистое закрытие.",{"title":395,"path":396,"stem":397,"restApiVersion":15,"category":362,"description":398,"badge":15},"Массовые рассылки","\u002Fdocs\u002Fexamples\u002Fmass-messaging","docs\u002F99.examples\u002F2.mass-messaging","Фильтрует контакты в CRM, персонализирует шаблон, отправляет IM-уведомления ответственным менеджерам.",{"title":400,"path":401,"stem":402,"restApiVersion":15,"category":15,"description":403,"badge":15},"Мастер установки","\u002Fdocs\u002Fexamples\u002Fapp-installation-wizard","docs\u002F99.examples\u002F20.app-installation-wizard","Многошаговый процесс установки, который создаёт пользовательские поля, регистрирует placement-ы, финализирует установку и празднует конфетти.",{"title":405,"path":406,"stem":407,"restApiVersion":15,"category":362,"description":408,"badge":15},"Автоматизация задач","\u002Fdocs\u002Fexamples\u002Ftask-automation","docs\u002F99.examples\u002F3.task-automation","Опрашивает стадии сделок каждые 60 с. При отслеживаемом переходе создаёт задачу с описанием, дедлайном и приоритетом.",{"title":410,"path":411,"stem":412,"restApiVersion":15,"category":362,"description":413,"badge":15},"Вебхук CLI","\u002Fdocs\u002Fexamples\u002Fwebhook-cli-node","docs\u002F99.examples\u002F3.webhook-cli-node","Node-скрипт на 30 строк, который аутентифицируется на портале Bitrix24 через входящий вебхук и печатает вызывающего пользователя — полезно как первое, что вы запускаете после создания вебхука.",{"title":415,"path":416,"stem":417,"restApiVersion":15,"category":15,"description":418,"badge":15},"Экспорт Node + Hook","\u002Fdocs\u002Fexamples\u002Fnode-hook-company-export","docs\u002F99.examples\u002F30.node-hook-company-export","Экспорт компаний Bitrix24 в CSV-файл из чистого Node.js-скрипта через B24Hook.",{"title":420,"path":421,"stem":422,"restApiVersion":15,"category":362,"description":423,"badge":15},"Массовое обновление","\u002Fdocs\u002Fexamples\u002Fbulk-update-deals","docs\u002F99.examples\u002F4.bulk-update-deals","Переносит тысячи сделок CRM на новую стадию через BatchByChunkV2 — автоматическое разбиение на чанки, обработка частичных ошибок и одна строка прогресса.",{"title":425,"path":426,"stem":427,"restApiVersion":15,"category":362,"description":428,"badge":15},"Синхронизация ERP","\u002Fdocs\u002Fexamples\u002Ferp-sync","docs\u002F99.examples\u002F4.erp-sync","Двусторонняя синхронизация контактов между Bitrix24 и внешней ERP. Сопоставление по ИНН (основное) или email (запасное). Cron каждый час.",{"title":430,"path":431,"stem":432,"restApiVersion":15,"category":362,"description":433,"badge":15},"Файлы Диска","\u002Fdocs\u002Fexamples\u002Fdisk-files","docs\u002F99.examples\u002F5.disk-files","Список хранилищ и содержимого папок, создание подпапок, просмотр файлов. Загрузка файлов (multipart) намеренно вне области.",{"title":435,"path":436,"stem":437,"restApiVersion":15,"category":362,"description":438,"badge":15},"Подписка на Pull","\u002Fdocs\u002Fexamples\u002Fpull-subscribe-frame","docs\u002F99.examples\u002F5.pull-subscribe-frame","Открыть живой канал из frame-приложения Bitrix24 и реагировать на push-события через useB24Helper + Pull-клиент.",{"title":440,"path":441,"stem":442,"restApiVersion":15,"category":362,"description":443,"badge":15},"Telegram-бот","\u002Fdocs\u002Fexamples\u002Ftelegram-bot","docs\u002F99.examples\u002F6.telegram-bot","Опрашивает новые сделки CRM каждые две минуты; уведомляет Telegram-чат HTML-карточкой.",{"title":445,"path":446,"stem":447,"restApiVersion":15,"category":362,"description":448,"badge":15},"Обработчик вебхуков","\u002Fdocs\u002Fexamples\u002Fwebhook-handler","docs\u002F99.examples\u002F7.webhook-handler","Express-сервер, который принимает исходящие события Bitrix24, подгружает детали через REST, маршрутизирует по имени события. Всегда возвращает 200.",{"title":450,"path":451,"stem":452,"restApiVersion":15,"category":362,"description":453,"badge":15},"AI-ассистент","\u002Fdocs\u002Fexamples\u002Fai-assistant","docs\u002F99.examples\u002F8.ai-assistant","Загружает сделку и её дела, спрашивает у GPT-4o лучшее следующее действие, создаёт задачу, привязанную к сделке, с приоритетом и дедлайном.",{"title":455,"path":456,"stem":457,"restApiVersion":15,"category":362,"description":458,"badge":15},"Веб-поиск + LLM","\u002Fdocs\u002Fexamples\u002Fweb-search-llm","docs\u002F99.examples\u002F9.web-search-llm","Двухшаговый RAG: запрос к любому провайдеру веб-поиска, прогон результата через ваш LLM с цитатами [N], публикация ответа комментарием в таймлайн CRM на сделке.",{"id":460,"title":461,"audited":462,"badge":15,"body":463,"category":303,"description":350,"extension":905,"links":906,"meta":910,"navigation":911,"path":348,"restApiVersion":15,"seo":912,"stem":349,"__hash__":913},"docs\u002Fdocs\u002F2.working-with-the-rest-api\u002Ftools-ping.md","Ping.make()","2026-06-25",{"type":464,"value":465,"toc":893},"minimark",[466,471,500,661,665,720,725,774,778,792,810,813,846,848,852,856,860,889],[467,468,470],"h2",{"id":469},"overview","Обзор",[472,473,474,475,495,496,499],"p",{},"Используйте ",[476,477,481,485,489,492],"code",{"className":478,"language":479,"style":480},"language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ts-type","",[482,483,347],"span",{"class":484},"sBMFI",[482,486,488],{"class":487},"sMK4o",".",[482,490,491],{"class":484},"make",[482,493,494],{"class":487},"()"," для измерения времени ответа REST API Bitrix24. Метод возвращает ",[476,497,498],{},"Promise"," с числовым значением времени ответа в миллисекундах.",[501,502,506],"pre",{"className":503,"code":504,"language":505,"meta":480,"style":480},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Базовое использование\nconst responseTime = await $b24.tools.ping.make()\n\nif (responseTime >= 0) {\n  console.log(`API response time: ${responseTime}ms`)\n} else {\n  console.error('Failed to measure API response time')\n}\n","ts",[476,507,508,516,554,561,583,622,633,655],{"__ignoreMap":480},[482,509,512],{"class":510,"line":511},"line",1,[482,513,515],{"class":514},"sHwdD","\u002F\u002F Базовое использование\n",[482,517,519,523,527,530,534,537,539,541,543,546,548,551],{"class":510,"line":518},2,[482,520,522],{"class":521},"spNyl","const",[482,524,526],{"class":525},"sTEyZ"," responseTime ",[482,528,529],{"class":487},"=",[482,531,533],{"class":532},"s7zQu"," await",[482,535,536],{"class":525}," $b24",[482,538,488],{"class":487},[482,540,303],{"class":525},[482,542,488],{"class":487},[482,544,545],{"class":525},"ping",[482,547,488],{"class":487},[482,549,491],{"class":550},"s2Zo4",[482,552,553],{"class":525},"()\n",[482,555,557],{"class":510,"line":556},3,[482,558,560],{"emptyLinePlaceholder":559},true,"\n",[482,562,564,567,570,573,577,580],{"class":510,"line":563},4,[482,565,566],{"class":532},"if",[482,568,569],{"class":525}," (responseTime ",[482,571,572],{"class":487},">=",[482,574,576],{"class":575},"sbssI"," 0",[482,578,579],{"class":525},") ",[482,581,582],{"class":487},"{\n",[482,584,586,589,591,594,598,601,605,608,611,614,617,619],{"class":510,"line":585},5,[482,587,588],{"class":525},"  console",[482,590,488],{"class":487},[482,592,593],{"class":550},"log",[482,595,597],{"class":596},"swJcz","(",[482,599,600],{"class":487},"`",[482,602,604],{"class":603},"sfazB","API response time: ",[482,606,607],{"class":487},"${",[482,609,610],{"class":525},"responseTime",[482,612,613],{"class":487},"}",[482,615,616],{"class":603},"ms",[482,618,600],{"class":487},[482,620,621],{"class":596},")\n",[482,623,625,627,630],{"class":510,"line":624},6,[482,626,613],{"class":487},[482,628,629],{"class":532}," else",[482,631,632],{"class":487}," {\n",[482,634,636,638,640,643,645,648,651,653],{"class":510,"line":635},7,[482,637,588],{"class":525},[482,639,488],{"class":487},[482,641,642],{"class":550},"error",[482,644,597],{"class":596},[482,646,647],{"class":487},"'",[482,649,650],{"class":603},"Failed to measure API response time",[482,652,647],{"class":487},[482,654,621],{"class":596},[482,656,658],{"class":510,"line":657},8,[482,659,660],{"class":487},"}\n",[467,662,664],{"id":663},"method-signature","Сигнатура метода",[501,666,668],{"className":478,"code":667,"language":479,"meta":480,"style":480},"make(\n  options?: { requestId?: string }\n): Promise\u003Cnumber>\n",[476,669,670,677,700],{"__ignoreMap":480},[482,671,672,674],{"class":510,"line":511},[482,673,491],{"class":484},[482,675,676],{"class":525},"(\n",[482,678,679,683,686,689,692,694,697],{"class":510,"line":518},[482,680,682],{"class":681},"sHdIc","  options",[482,684,685],{"class":487},"?:",[482,687,688],{"class":487}," {",[482,690,691],{"class":596}," requestId",[482,693,685],{"class":487},[482,695,696],{"class":484}," string",[482,698,699],{"class":487}," }\n",[482,701,702,705,708,711,714,717],{"class":510,"line":556},[482,703,704],{"class":525},")",[482,706,707],{"class":487},":",[482,709,710],{"class":484}," Promise",[482,712,713],{"class":487},"\u003C",[482,715,716],{"class":484},"number",[482,718,719],{"class":487},">\n",[721,722,724],"h3",{"id":723},"parameters","Параметры",[726,727,728,747],"table",{},[729,730,731],"thead",{},[732,733,734,738,741,744],"tr",{},[735,736,737],"th",{},"Параметр",[735,739,740],{},"Тип",[735,742,743],{},"Обязательный",[735,745,746],{},"Описание",[748,749,750],"tbody",{},[732,751,752,761,768,771],{},[753,754,755],"td",{},[756,757,758],"strong",{},[476,759,760],{},"requestId",[753,762,763],{},[476,764,765],{"className":478,"language":479,"style":480},[482,766,767],{"class":484},"string",[753,769,770],{},"Нет",[753,772,773],{},"Уникальный идентификатор запроса для отслеживания. Используется для дедупликации запросов и отладки.",[721,775,777],{"id":776},"return-value","Возвращаемое значение",[472,779,780,791],{},[476,781,782,784,786,788],{"className":478,"language":479,"style":480},[482,783,498],{"class":484},[482,785,713],{"class":487},[482,787,716],{"class":484},[482,789,790],{"class":487},">"," — promise, который разрешается числовым значением:",[793,794,795,802],"ul",{},[796,797,798,801],"li",{},[756,799,800],{},"Положительное число"," — время ответа в миллисекундах от отправки запроса до получения ответа.",[796,803,804,809],{},[756,805,806],{},[476,807,808],{},"-1"," — в случае ошибки или таймаута.",[467,811,375],{"id":812},"error-handling",[472,814,815,825,826,828,829,836,837,843,844,488],{},[476,816,817,819,821,823],{"className":478,"language":479,"style":480},[482,818,347],{"class":484},[482,820,488],{"class":487},[482,822,491],{"class":484},[482,824,494],{"class":487}," никогда не выбрасывает исключений. Сетевые сбои, HTTP-ошибки, неверные учётные данные и таймауты — всё проглатывается внутри и возвращается как ",[476,827,808],{},". Со стороны вызова нет способа различить виды сбоев — для этого используйте ",[830,831,833],"a",{"href":832},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-health-check\u002F",[476,834,835],{},"HealthCheck.make()"," или вызывайте нижележащий метод напрямую через ",[830,838,840],{"href":839},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-rest-api-ver2\u002F",[476,841,842],{},"CallV2.make()"," и проверяйте ",[476,845,262],{},[467,847,352],{"id":362},[721,849,851],{"id":850},"measuring-response-time","Измерение времени ответа",[853,854],"code-example",{"name":855},"tools-ping",[467,857,859],{"id":858},"alternatives-and-recommendations","Альтернативы и рекомендации",[793,861,862,872,878],{},[796,863,864,867,868,488],{},[756,865,866],{},"Для проверки доступности",": используйте ",[830,869,870],{"href":832},[476,871,342],{},[796,873,874,877],{},[756,875,876],{},"Для измерения производительности операций",": выполняйте замеры времени для конкретных методов API.",[796,879,880,883,884,488],{},[756,881,882],{},"На клиентской стороне (браузер):"," используйте встроенный объект ",[830,885,887],{"href":886},"\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fvue\u002F#init",[476,888,133],{},[890,891,892],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}",{"title":480,"searchDepth":518,"depth":518,"links":894},[895,896,900,901,904],{"id":469,"depth":518,"text":470},{"id":663,"depth":518,"text":664,"children":897},[898,899],{"id":723,"depth":556,"text":724},{"id":776,"depth":556,"text":777},{"id":812,"depth":518,"text":375},{"id":362,"depth":518,"text":352,"children":902},[903],{"id":850,"depth":556,"text":851},{"id":858,"depth":518,"text":859},"md",[907],{"label":347,"iconName":908,"to":909},"GitHubIcon","https:\u002F\u002Fgithub.com\u002Fbitrix24\u002Fb24jssdk\u002Fblob\u002Fmain\u002Fpackages\u002Fjssdk\u002Fsrc\u002Fcore\u002Ftools\u002Fping.ts",{},{"title":347},{"title":461,"description":350},"Pnkf2AC6uWwGPshAJHN98JuLq8CVhQvmAtl2BLZgl5E",{"data":915,"body":916},{},{"type":917,"children":918},"root",[919],{"type":920,"tag":472,"props":921,"children":922},"element",{},[923],{"type":924,"value":350},"text",{"data":926,"body":927,"toc":2096},{"title":480,"description":480},{"type":917,"children":928},[929,2091],{"type":920,"tag":501,"props":930,"children":932},{"className":503,"code":931,"language":505,"meta":480,"style":480},"import { B24Hook, LoggerFactory } from '@bitrix24\u002Fb24jssdk'\n\nconst devMode = typeof import.meta !== 'undefined' && (import.meta?.dev || globalThis._importMeta_.env?.DEV)\nconst $logger = LoggerFactory.createForBrowser('Example:ping', devMode)\nconst $b24 = B24Hook.fromWebhookUrl('https:\u002F\u002Fyour_domain.bitrix24.com\u002Frest\u002F1\u002Fwebhook_code\u002F')\n\nasync function measureApiResponseTime(): Promise\u003Cnumber> {\n  try {\n    return await $b24.tools.ping.make({\n      requestId: `unique-request-id`\n    })\n  } catch (error) {\n    $logger.error('Ping failed unexpectedly', { error })\n    return -1\n  }\n}\n\n\u002F\u002F Usage\ntry {\n  const responseTime = await measureApiResponseTime()\n\n  if (responseTime >= 0) {\n    \u002F\u002F Response time classification\n    let status = 'optimal'\n    if (responseTime > 1000) status = 'slow'\n    if (responseTime > 3000) status = 'very_slow'\n    if (responseTime > 10000) status = 'critical'\n\n    $logger.info(`API response time: ${responseTime}ms (${status})`, {\n      responseTime,\n      status,\n      threshold: 'Optimal \u003C 1000ms'\n    })\n  } else {\n    $logger.error('Failed to measure API response time')\n  }\n} catch (error) {\n  $logger.error('Error measuring response time', { error })\n}\n",[933],{"type":920,"tag":476,"props":934,"children":935},{"__ignoreMap":480},[936,992,999,1123,1179,1229,1236,1280,1292,1342,1370,1383,1413,1468,1487,1496,1504,1512,1522,1535,1566,1574,1608,1617,1648,1701,1751,1801,1809,1883,1897,1910,1936,1948,1964,2000,2008,2029,2083],{"type":920,"tag":482,"props":937,"children":938},{"class":510,"line":511},[939,945,950,956,961,966,971,976,981,987],{"type":920,"tag":482,"props":940,"children":942},{"style":941},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[943],{"type":924,"value":944},"import",{"type":920,"tag":482,"props":946,"children":948},{"style":947},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[949],{"type":924,"value":688},{"type":920,"tag":482,"props":951,"children":953},{"style":952},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[954],{"type":924,"value":955}," B24Hook",{"type":920,"tag":482,"props":957,"children":958},{"style":947},[959],{"type":924,"value":960},",",{"type":920,"tag":482,"props":962,"children":963},{"style":952},[964],{"type":924,"value":965}," LoggerFactory",{"type":920,"tag":482,"props":967,"children":968},{"style":947},[969],{"type":924,"value":970}," }",{"type":920,"tag":482,"props":972,"children":973},{"style":941},[974],{"type":924,"value":975}," from",{"type":920,"tag":482,"props":977,"children":978},{"style":947},[979],{"type":924,"value":980}," '",{"type":920,"tag":482,"props":982,"children":984},{"style":983},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[985],{"type":924,"value":986},"@bitrix24\u002Fb24jssdk",{"type":920,"tag":482,"props":988,"children":989},{"style":947},[990],{"type":924,"value":991},"'\n",{"type":920,"tag":482,"props":993,"children":994},{"class":510,"line":518},[995],{"type":920,"tag":482,"props":996,"children":997},{"emptyLinePlaceholder":559},[998],{"type":924,"value":560},{"type":920,"tag":482,"props":1000,"children":1001},{"class":510,"line":556},[1002,1007,1012,1016,1021,1026,1030,1035,1040,1044,1049,1053,1058,1063,1067,1071,1076,1081,1086,1091,1096,1100,1105,1109,1114,1118],{"type":920,"tag":482,"props":1003,"children":1005},{"style":1004},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1006],{"type":924,"value":522},{"type":920,"tag":482,"props":1008,"children":1009},{"style":952},[1010],{"type":924,"value":1011}," devMode ",{"type":920,"tag":482,"props":1013,"children":1014},{"style":947},[1015],{"type":924,"value":529},{"type":920,"tag":482,"props":1017,"children":1018},{"style":947},[1019],{"type":924,"value":1020}," typeof",{"type":920,"tag":482,"props":1022,"children":1023},{"style":941},[1024],{"type":924,"value":1025}," import",{"type":920,"tag":482,"props":1027,"children":1028},{"style":947},[1029],{"type":924,"value":488},{"type":920,"tag":482,"props":1031,"children":1032},{"style":952},[1033],{"type":924,"value":1034},"meta ",{"type":920,"tag":482,"props":1036,"children":1037},{"style":947},[1038],{"type":924,"value":1039},"!==",{"type":920,"tag":482,"props":1041,"children":1042},{"style":947},[1043],{"type":924,"value":980},{"type":920,"tag":482,"props":1045,"children":1046},{"style":983},[1047],{"type":924,"value":1048},"undefined",{"type":920,"tag":482,"props":1050,"children":1051},{"style":947},[1052],{"type":924,"value":647},{"type":920,"tag":482,"props":1054,"children":1055},{"style":947},[1056],{"type":924,"value":1057}," &&",{"type":920,"tag":482,"props":1059,"children":1060},{"style":952},[1061],{"type":924,"value":1062}," (",{"type":920,"tag":482,"props":1064,"children":1065},{"style":941},[1066],{"type":924,"value":944},{"type":920,"tag":482,"props":1068,"children":1069},{"style":947},[1070],{"type":924,"value":488},{"type":920,"tag":482,"props":1072,"children":1073},{"style":952},[1074],{"type":924,"value":1075},"meta",{"type":920,"tag":482,"props":1077,"children":1078},{"style":947},[1079],{"type":924,"value":1080},"?.",{"type":920,"tag":482,"props":1082,"children":1083},{"style":952},[1084],{"type":924,"value":1085},"dev ",{"type":920,"tag":482,"props":1087,"children":1088},{"style":947},[1089],{"type":924,"value":1090},"||",{"type":920,"tag":482,"props":1092,"children":1093},{"style":952},[1094],{"type":924,"value":1095}," globalThis",{"type":920,"tag":482,"props":1097,"children":1098},{"style":947},[1099],{"type":924,"value":488},{"type":920,"tag":482,"props":1101,"children":1102},{"style":952},[1103],{"type":924,"value":1104},"_importMeta_",{"type":920,"tag":482,"props":1106,"children":1107},{"style":947},[1108],{"type":924,"value":488},{"type":920,"tag":482,"props":1110,"children":1111},{"style":952},[1112],{"type":924,"value":1113},"env",{"type":920,"tag":482,"props":1115,"children":1116},{"style":947},[1117],{"type":924,"value":1080},{"type":920,"tag":482,"props":1119,"children":1120},{"style":952},[1121],{"type":924,"value":1122},"DEV)\n",{"type":920,"tag":482,"props":1124,"children":1125},{"class":510,"line":563},[1126,1130,1135,1139,1143,1147,1153,1157,1161,1166,1170,1174],{"type":920,"tag":482,"props":1127,"children":1128},{"style":1004},[1129],{"type":924,"value":522},{"type":920,"tag":482,"props":1131,"children":1132},{"style":952},[1133],{"type":924,"value":1134}," $logger ",{"type":920,"tag":482,"props":1136,"children":1137},{"style":947},[1138],{"type":924,"value":529},{"type":920,"tag":482,"props":1140,"children":1141},{"style":952},[1142],{"type":924,"value":965},{"type":920,"tag":482,"props":1144,"children":1145},{"style":947},[1146],{"type":924,"value":488},{"type":920,"tag":482,"props":1148,"children":1150},{"style":1149},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1151],{"type":924,"value":1152},"createForBrowser",{"type":920,"tag":482,"props":1154,"children":1155},{"style":952},[1156],{"type":924,"value":597},{"type":920,"tag":482,"props":1158,"children":1159},{"style":947},[1160],{"type":924,"value":647},{"type":920,"tag":482,"props":1162,"children":1163},{"style":983},[1164],{"type":924,"value":1165},"Example:ping",{"type":920,"tag":482,"props":1167,"children":1168},{"style":947},[1169],{"type":924,"value":647},{"type":920,"tag":482,"props":1171,"children":1172},{"style":947},[1173],{"type":924,"value":960},{"type":920,"tag":482,"props":1175,"children":1176},{"style":952},[1177],{"type":924,"value":1178}," devMode)\n",{"type":920,"tag":482,"props":1180,"children":1181},{"class":510,"line":585},[1182,1186,1191,1195,1199,1203,1208,1212,1216,1221,1225],{"type":920,"tag":482,"props":1183,"children":1184},{"style":1004},[1185],{"type":924,"value":522},{"type":920,"tag":482,"props":1187,"children":1188},{"style":952},[1189],{"type":924,"value":1190}," $b24 ",{"type":920,"tag":482,"props":1192,"children":1193},{"style":947},[1194],{"type":924,"value":529},{"type":920,"tag":482,"props":1196,"children":1197},{"style":952},[1198],{"type":924,"value":955},{"type":920,"tag":482,"props":1200,"children":1201},{"style":947},[1202],{"type":924,"value":488},{"type":920,"tag":482,"props":1204,"children":1205},{"style":1149},[1206],{"type":924,"value":1207},"fromWebhookUrl",{"type":920,"tag":482,"props":1209,"children":1210},{"style":952},[1211],{"type":924,"value":597},{"type":920,"tag":482,"props":1213,"children":1214},{"style":947},[1215],{"type":924,"value":647},{"type":920,"tag":482,"props":1217,"children":1218},{"style":983},[1219],{"type":924,"value":1220},"https:\u002F\u002Fyour_domain.bitrix24.com\u002Frest\u002F1\u002Fwebhook_code\u002F",{"type":920,"tag":482,"props":1222,"children":1223},{"style":947},[1224],{"type":924,"value":647},{"type":920,"tag":482,"props":1226,"children":1227},{"style":952},[1228],{"type":924,"value":621},{"type":920,"tag":482,"props":1230,"children":1231},{"class":510,"line":624},[1232],{"type":920,"tag":482,"props":1233,"children":1234},{"emptyLinePlaceholder":559},[1235],{"type":924,"value":560},{"type":920,"tag":482,"props":1237,"children":1238},{"class":510,"line":635},[1239,1244,1249,1254,1259,1264,1268,1272,1276],{"type":920,"tag":482,"props":1240,"children":1241},{"style":1004},[1242],{"type":924,"value":1243},"async",{"type":920,"tag":482,"props":1245,"children":1246},{"style":1004},[1247],{"type":924,"value":1248}," function",{"type":920,"tag":482,"props":1250,"children":1251},{"style":1149},[1252],{"type":924,"value":1253}," measureApiResponseTime",{"type":920,"tag":482,"props":1255,"children":1256},{"style":947},[1257],{"type":924,"value":1258},"():",{"type":920,"tag":482,"props":1260,"children":1262},{"style":1261},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1263],{"type":924,"value":710},{"type":920,"tag":482,"props":1265,"children":1266},{"style":947},[1267],{"type":924,"value":713},{"type":920,"tag":482,"props":1269,"children":1270},{"style":1261},[1271],{"type":924,"value":716},{"type":920,"tag":482,"props":1273,"children":1274},{"style":947},[1275],{"type":924,"value":790},{"type":920,"tag":482,"props":1277,"children":1278},{"style":947},[1279],{"type":924,"value":632},{"type":920,"tag":482,"props":1281,"children":1282},{"class":510,"line":657},[1283,1288],{"type":920,"tag":482,"props":1284,"children":1285},{"style":941},[1286],{"type":924,"value":1287},"  try",{"type":920,"tag":482,"props":1289,"children":1290},{"style":947},[1291],{"type":924,"value":632},{"type":920,"tag":482,"props":1293,"children":1295},{"class":510,"line":1294},9,[1296,1301,1305,1309,1313,1317,1321,1325,1329,1333,1338],{"type":920,"tag":482,"props":1297,"children":1298},{"style":941},[1299],{"type":924,"value":1300},"    return",{"type":920,"tag":482,"props":1302,"children":1303},{"style":941},[1304],{"type":924,"value":533},{"type":920,"tag":482,"props":1306,"children":1307},{"style":952},[1308],{"type":924,"value":536},{"type":920,"tag":482,"props":1310,"children":1311},{"style":947},[1312],{"type":924,"value":488},{"type":920,"tag":482,"props":1314,"children":1315},{"style":952},[1316],{"type":924,"value":303},{"type":920,"tag":482,"props":1318,"children":1319},{"style":947},[1320],{"type":924,"value":488},{"type":920,"tag":482,"props":1322,"children":1323},{"style":952},[1324],{"type":924,"value":545},{"type":920,"tag":482,"props":1326,"children":1327},{"style":947},[1328],{"type":924,"value":488},{"type":920,"tag":482,"props":1330,"children":1331},{"style":1149},[1332],{"type":924,"value":491},{"type":920,"tag":482,"props":1334,"children":1336},{"style":1335},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1337],{"type":924,"value":597},{"type":920,"tag":482,"props":1339,"children":1340},{"style":947},[1341],{"type":924,"value":582},{"type":920,"tag":482,"props":1343,"children":1345},{"class":510,"line":1344},10,[1346,1351,1355,1360,1365],{"type":920,"tag":482,"props":1347,"children":1348},{"style":1335},[1349],{"type":924,"value":1350},"      requestId",{"type":920,"tag":482,"props":1352,"children":1353},{"style":947},[1354],{"type":924,"value":707},{"type":920,"tag":482,"props":1356,"children":1357},{"style":947},[1358],{"type":924,"value":1359}," `",{"type":920,"tag":482,"props":1361,"children":1362},{"style":983},[1363],{"type":924,"value":1364},"unique-request-id",{"type":920,"tag":482,"props":1366,"children":1367},{"style":947},[1368],{"type":924,"value":1369},"`\n",{"type":920,"tag":482,"props":1371,"children":1373},{"class":510,"line":1372},11,[1374,1379],{"type":920,"tag":482,"props":1375,"children":1376},{"style":947},[1377],{"type":924,"value":1378},"    }",{"type":920,"tag":482,"props":1380,"children":1381},{"style":1335},[1382],{"type":924,"value":621},{"type":920,"tag":482,"props":1384,"children":1386},{"class":510,"line":1385},12,[1387,1392,1397,1401,1405,1409],{"type":920,"tag":482,"props":1388,"children":1389},{"style":947},[1390],{"type":924,"value":1391},"  }",{"type":920,"tag":482,"props":1393,"children":1394},{"style":941},[1395],{"type":924,"value":1396}," catch",{"type":920,"tag":482,"props":1398,"children":1399},{"style":1335},[1400],{"type":924,"value":1062},{"type":920,"tag":482,"props":1402,"children":1403},{"style":952},[1404],{"type":924,"value":642},{"type":920,"tag":482,"props":1406,"children":1407},{"style":1335},[1408],{"type":924,"value":579},{"type":920,"tag":482,"props":1410,"children":1411},{"style":947},[1412],{"type":924,"value":582},{"type":920,"tag":482,"props":1414,"children":1416},{"class":510,"line":1415},13,[1417,1422,1426,1430,1434,1438,1443,1447,1451,1455,1460,1464],{"type":920,"tag":482,"props":1418,"children":1419},{"style":952},[1420],{"type":924,"value":1421},"    $logger",{"type":920,"tag":482,"props":1423,"children":1424},{"style":947},[1425],{"type":924,"value":488},{"type":920,"tag":482,"props":1427,"children":1428},{"style":1149},[1429],{"type":924,"value":642},{"type":920,"tag":482,"props":1431,"children":1432},{"style":1335},[1433],{"type":924,"value":597},{"type":920,"tag":482,"props":1435,"children":1436},{"style":947},[1437],{"type":924,"value":647},{"type":920,"tag":482,"props":1439,"children":1440},{"style":983},[1441],{"type":924,"value":1442},"Ping failed unexpectedly",{"type":920,"tag":482,"props":1444,"children":1445},{"style":947},[1446],{"type":924,"value":647},{"type":920,"tag":482,"props":1448,"children":1449},{"style":947},[1450],{"type":924,"value":960},{"type":920,"tag":482,"props":1452,"children":1453},{"style":947},[1454],{"type":924,"value":688},{"type":920,"tag":482,"props":1456,"children":1457},{"style":952},[1458],{"type":924,"value":1459}," error",{"type":920,"tag":482,"props":1461,"children":1462},{"style":947},[1463],{"type":924,"value":970},{"type":920,"tag":482,"props":1465,"children":1466},{"style":1335},[1467],{"type":924,"value":621},{"type":920,"tag":482,"props":1469,"children":1471},{"class":510,"line":1470},14,[1472,1476,1481],{"type":920,"tag":482,"props":1473,"children":1474},{"style":941},[1475],{"type":924,"value":1300},{"type":920,"tag":482,"props":1477,"children":1478},{"style":947},[1479],{"type":924,"value":1480}," -",{"type":920,"tag":482,"props":1482,"children":1484},{"style":1483},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1485],{"type":924,"value":1486},"1\n",{"type":920,"tag":482,"props":1488,"children":1490},{"class":510,"line":1489},15,[1491],{"type":920,"tag":482,"props":1492,"children":1493},{"style":947},[1494],{"type":924,"value":1495},"  }\n",{"type":920,"tag":482,"props":1497,"children":1499},{"class":510,"line":1498},16,[1500],{"type":920,"tag":482,"props":1501,"children":1502},{"style":947},[1503],{"type":924,"value":660},{"type":920,"tag":482,"props":1505,"children":1507},{"class":510,"line":1506},17,[1508],{"type":920,"tag":482,"props":1509,"children":1510},{"emptyLinePlaceholder":559},[1511],{"type":924,"value":560},{"type":920,"tag":482,"props":1513,"children":1515},{"class":510,"line":1514},18,[1516],{"type":920,"tag":482,"props":1517,"children":1519},{"style":1518},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1520],{"type":924,"value":1521},"\u002F\u002F Usage\n",{"type":920,"tag":482,"props":1523,"children":1525},{"class":510,"line":1524},19,[1526,1531],{"type":920,"tag":482,"props":1527,"children":1528},{"style":941},[1529],{"type":924,"value":1530},"try",{"type":920,"tag":482,"props":1532,"children":1533},{"style":947},[1534],{"type":924,"value":632},{"type":920,"tag":482,"props":1536,"children":1538},{"class":510,"line":1537},20,[1539,1544,1549,1554,1558,1562],{"type":920,"tag":482,"props":1540,"children":1541},{"style":1004},[1542],{"type":924,"value":1543},"  const",{"type":920,"tag":482,"props":1545,"children":1546},{"style":952},[1547],{"type":924,"value":1548}," responseTime",{"type":920,"tag":482,"props":1550,"children":1551},{"style":947},[1552],{"type":924,"value":1553}," =",{"type":920,"tag":482,"props":1555,"children":1556},{"style":941},[1557],{"type":924,"value":533},{"type":920,"tag":482,"props":1559,"children":1560},{"style":1149},[1561],{"type":924,"value":1253},{"type":920,"tag":482,"props":1563,"children":1564},{"style":1335},[1565],{"type":924,"value":553},{"type":920,"tag":482,"props":1567,"children":1569},{"class":510,"line":1568},21,[1570],{"type":920,"tag":482,"props":1571,"children":1572},{"emptyLinePlaceholder":559},[1573],{"type":924,"value":560},{"type":920,"tag":482,"props":1575,"children":1577},{"class":510,"line":1576},22,[1578,1583,1587,1591,1596,1600,1604],{"type":920,"tag":482,"props":1579,"children":1580},{"style":941},[1581],{"type":924,"value":1582},"  if",{"type":920,"tag":482,"props":1584,"children":1585},{"style":1335},[1586],{"type":924,"value":1062},{"type":920,"tag":482,"props":1588,"children":1589},{"style":952},[1590],{"type":924,"value":610},{"type":920,"tag":482,"props":1592,"children":1593},{"style":947},[1594],{"type":924,"value":1595}," >=",{"type":920,"tag":482,"props":1597,"children":1598},{"style":1483},[1599],{"type":924,"value":576},{"type":920,"tag":482,"props":1601,"children":1602},{"style":1335},[1603],{"type":924,"value":579},{"type":920,"tag":482,"props":1605,"children":1606},{"style":947},[1607],{"type":924,"value":582},{"type":920,"tag":482,"props":1609,"children":1611},{"class":510,"line":1610},23,[1612],{"type":920,"tag":482,"props":1613,"children":1614},{"style":1518},[1615],{"type":924,"value":1616},"    \u002F\u002F Response time classification\n",{"type":920,"tag":482,"props":1618,"children":1620},{"class":510,"line":1619},24,[1621,1626,1631,1635,1639,1644],{"type":920,"tag":482,"props":1622,"children":1623},{"style":1004},[1624],{"type":924,"value":1625},"    let",{"type":920,"tag":482,"props":1627,"children":1628},{"style":952},[1629],{"type":924,"value":1630}," status",{"type":920,"tag":482,"props":1632,"children":1633},{"style":947},[1634],{"type":924,"value":1553},{"type":920,"tag":482,"props":1636,"children":1637},{"style":947},[1638],{"type":924,"value":980},{"type":920,"tag":482,"props":1640,"children":1641},{"style":983},[1642],{"type":924,"value":1643},"optimal",{"type":920,"tag":482,"props":1645,"children":1646},{"style":947},[1647],{"type":924,"value":991},{"type":920,"tag":482,"props":1649,"children":1651},{"class":510,"line":1650},25,[1652,1657,1661,1665,1670,1675,1679,1684,1688,1692,1697],{"type":920,"tag":482,"props":1653,"children":1654},{"style":941},[1655],{"type":924,"value":1656},"    if",{"type":920,"tag":482,"props":1658,"children":1659},{"style":1335},[1660],{"type":924,"value":1062},{"type":920,"tag":482,"props":1662,"children":1663},{"style":952},[1664],{"type":924,"value":610},{"type":920,"tag":482,"props":1666,"children":1667},{"style":947},[1668],{"type":924,"value":1669}," >",{"type":920,"tag":482,"props":1671,"children":1672},{"style":1483},[1673],{"type":924,"value":1674}," 1000",{"type":920,"tag":482,"props":1676,"children":1677},{"style":1335},[1678],{"type":924,"value":579},{"type":920,"tag":482,"props":1680,"children":1681},{"style":952},[1682],{"type":924,"value":1683},"status",{"type":920,"tag":482,"props":1685,"children":1686},{"style":947},[1687],{"type":924,"value":1553},{"type":920,"tag":482,"props":1689,"children":1690},{"style":947},[1691],{"type":924,"value":980},{"type":920,"tag":482,"props":1693,"children":1694},{"style":983},[1695],{"type":924,"value":1696},"slow",{"type":920,"tag":482,"props":1698,"children":1699},{"style":947},[1700],{"type":924,"value":991},{"type":920,"tag":482,"props":1702,"children":1704},{"class":510,"line":1703},26,[1705,1709,1713,1717,1721,1726,1730,1734,1738,1742,1747],{"type":920,"tag":482,"props":1706,"children":1707},{"style":941},[1708],{"type":924,"value":1656},{"type":920,"tag":482,"props":1710,"children":1711},{"style":1335},[1712],{"type":924,"value":1062},{"type":920,"tag":482,"props":1714,"children":1715},{"style":952},[1716],{"type":924,"value":610},{"type":920,"tag":482,"props":1718,"children":1719},{"style":947},[1720],{"type":924,"value":1669},{"type":920,"tag":482,"props":1722,"children":1723},{"style":1483},[1724],{"type":924,"value":1725}," 3000",{"type":920,"tag":482,"props":1727,"children":1728},{"style":1335},[1729],{"type":924,"value":579},{"type":920,"tag":482,"props":1731,"children":1732},{"style":952},[1733],{"type":924,"value":1683},{"type":920,"tag":482,"props":1735,"children":1736},{"style":947},[1737],{"type":924,"value":1553},{"type":920,"tag":482,"props":1739,"children":1740},{"style":947},[1741],{"type":924,"value":980},{"type":920,"tag":482,"props":1743,"children":1744},{"style":983},[1745],{"type":924,"value":1746},"very_slow",{"type":920,"tag":482,"props":1748,"children":1749},{"style":947},[1750],{"type":924,"value":991},{"type":920,"tag":482,"props":1752,"children":1754},{"class":510,"line":1753},27,[1755,1759,1763,1767,1771,1776,1780,1784,1788,1792,1797],{"type":920,"tag":482,"props":1756,"children":1757},{"style":941},[1758],{"type":924,"value":1656},{"type":920,"tag":482,"props":1760,"children":1761},{"style":1335},[1762],{"type":924,"value":1062},{"type":920,"tag":482,"props":1764,"children":1765},{"style":952},[1766],{"type":924,"value":610},{"type":920,"tag":482,"props":1768,"children":1769},{"style":947},[1770],{"type":924,"value":1669},{"type":920,"tag":482,"props":1772,"children":1773},{"style":1483},[1774],{"type":924,"value":1775}," 10000",{"type":920,"tag":482,"props":1777,"children":1778},{"style":1335},[1779],{"type":924,"value":579},{"type":920,"tag":482,"props":1781,"children":1782},{"style":952},[1783],{"type":924,"value":1683},{"type":920,"tag":482,"props":1785,"children":1786},{"style":947},[1787],{"type":924,"value":1553},{"type":920,"tag":482,"props":1789,"children":1790},{"style":947},[1791],{"type":924,"value":980},{"type":920,"tag":482,"props":1793,"children":1794},{"style":983},[1795],{"type":924,"value":1796},"critical",{"type":920,"tag":482,"props":1798,"children":1799},{"style":947},[1800],{"type":924,"value":991},{"type":920,"tag":482,"props":1802,"children":1804},{"class":510,"line":1803},28,[1805],{"type":920,"tag":482,"props":1806,"children":1807},{"emptyLinePlaceholder":559},[1808],{"type":924,"value":560},{"type":920,"tag":482,"props":1810,"children":1812},{"class":510,"line":1811},29,[1813,1817,1821,1826,1830,1834,1838,1842,1846,1850,1855,1859,1863,1867,1871,1875,1879],{"type":920,"tag":482,"props":1814,"children":1815},{"style":952},[1816],{"type":924,"value":1421},{"type":920,"tag":482,"props":1818,"children":1819},{"style":947},[1820],{"type":924,"value":488},{"type":920,"tag":482,"props":1822,"children":1823},{"style":1149},[1824],{"type":924,"value":1825},"info",{"type":920,"tag":482,"props":1827,"children":1828},{"style":1335},[1829],{"type":924,"value":597},{"type":920,"tag":482,"props":1831,"children":1832},{"style":947},[1833],{"type":924,"value":600},{"type":920,"tag":482,"props":1835,"children":1836},{"style":983},[1837],{"type":924,"value":604},{"type":920,"tag":482,"props":1839,"children":1840},{"style":947},[1841],{"type":924,"value":607},{"type":920,"tag":482,"props":1843,"children":1844},{"style":952},[1845],{"type":924,"value":610},{"type":920,"tag":482,"props":1847,"children":1848},{"style":947},[1849],{"type":924,"value":613},{"type":920,"tag":482,"props":1851,"children":1852},{"style":983},[1853],{"type":924,"value":1854},"ms (",{"type":920,"tag":482,"props":1856,"children":1857},{"style":947},[1858],{"type":924,"value":607},{"type":920,"tag":482,"props":1860,"children":1861},{"style":952},[1862],{"type":924,"value":1683},{"type":920,"tag":482,"props":1864,"children":1865},{"style":947},[1866],{"type":924,"value":613},{"type":920,"tag":482,"props":1868,"children":1869},{"style":983},[1870],{"type":924,"value":704},{"type":920,"tag":482,"props":1872,"children":1873},{"style":947},[1874],{"type":924,"value":600},{"type":920,"tag":482,"props":1876,"children":1877},{"style":947},[1878],{"type":924,"value":960},{"type":920,"tag":482,"props":1880,"children":1881},{"style":947},[1882],{"type":924,"value":632},{"type":920,"tag":482,"props":1884,"children":1886},{"class":510,"line":1885},30,[1887,1892],{"type":920,"tag":482,"props":1888,"children":1889},{"style":952},[1890],{"type":924,"value":1891},"      responseTime",{"type":920,"tag":482,"props":1893,"children":1894},{"style":947},[1895],{"type":924,"value":1896},",\n",{"type":920,"tag":482,"props":1898,"children":1900},{"class":510,"line":1899},31,[1901,1906],{"type":920,"tag":482,"props":1902,"children":1903},{"style":952},[1904],{"type":924,"value":1905},"      status",{"type":920,"tag":482,"props":1907,"children":1908},{"style":947},[1909],{"type":924,"value":1896},{"type":920,"tag":482,"props":1911,"children":1913},{"class":510,"line":1912},32,[1914,1919,1923,1927,1932],{"type":920,"tag":482,"props":1915,"children":1916},{"style":1335},[1917],{"type":924,"value":1918},"      threshold",{"type":920,"tag":482,"props":1920,"children":1921},{"style":947},[1922],{"type":924,"value":707},{"type":920,"tag":482,"props":1924,"children":1925},{"style":947},[1926],{"type":924,"value":980},{"type":920,"tag":482,"props":1928,"children":1929},{"style":983},[1930],{"type":924,"value":1931},"Optimal \u003C 1000ms",{"type":920,"tag":482,"props":1933,"children":1934},{"style":947},[1935],{"type":924,"value":991},{"type":920,"tag":482,"props":1937,"children":1939},{"class":510,"line":1938},33,[1940,1944],{"type":920,"tag":482,"props":1941,"children":1942},{"style":947},[1943],{"type":924,"value":1378},{"type":920,"tag":482,"props":1945,"children":1946},{"style":1335},[1947],{"type":924,"value":621},{"type":920,"tag":482,"props":1949,"children":1951},{"class":510,"line":1950},34,[1952,1956,1960],{"type":920,"tag":482,"props":1953,"children":1954},{"style":947},[1955],{"type":924,"value":1391},{"type":920,"tag":482,"props":1957,"children":1958},{"style":941},[1959],{"type":924,"value":629},{"type":920,"tag":482,"props":1961,"children":1962},{"style":947},[1963],{"type":924,"value":632},{"type":920,"tag":482,"props":1965,"children":1967},{"class":510,"line":1966},35,[1968,1972,1976,1980,1984,1988,1992,1996],{"type":920,"tag":482,"props":1969,"children":1970},{"style":952},[1971],{"type":924,"value":1421},{"type":920,"tag":482,"props":1973,"children":1974},{"style":947},[1975],{"type":924,"value":488},{"type":920,"tag":482,"props":1977,"children":1978},{"style":1149},[1979],{"type":924,"value":642},{"type":920,"tag":482,"props":1981,"children":1982},{"style":1335},[1983],{"type":924,"value":597},{"type":920,"tag":482,"props":1985,"children":1986},{"style":947},[1987],{"type":924,"value":647},{"type":920,"tag":482,"props":1989,"children":1990},{"style":983},[1991],{"type":924,"value":650},{"type":920,"tag":482,"props":1993,"children":1994},{"style":947},[1995],{"type":924,"value":647},{"type":920,"tag":482,"props":1997,"children":1998},{"style":1335},[1999],{"type":924,"value":621},{"type":920,"tag":482,"props":2001,"children":2003},{"class":510,"line":2002},36,[2004],{"type":920,"tag":482,"props":2005,"children":2006},{"style":947},[2007],{"type":924,"value":1495},{"type":920,"tag":482,"props":2009,"children":2011},{"class":510,"line":2010},37,[2012,2016,2020,2025],{"type":920,"tag":482,"props":2013,"children":2014},{"style":947},[2015],{"type":924,"value":613},{"type":920,"tag":482,"props":2017,"children":2018},{"style":941},[2019],{"type":924,"value":1396},{"type":920,"tag":482,"props":2021,"children":2022},{"style":952},[2023],{"type":924,"value":2024}," (error) ",{"type":920,"tag":482,"props":2026,"children":2027},{"style":947},[2028],{"type":924,"value":582},{"type":920,"tag":482,"props":2030,"children":2032},{"class":510,"line":2031},38,[2033,2038,2042,2046,2050,2054,2059,2063,2067,2071,2075,2079],{"type":920,"tag":482,"props":2034,"children":2035},{"style":952},[2036],{"type":924,"value":2037},"  $logger",{"type":920,"tag":482,"props":2039,"children":2040},{"style":947},[2041],{"type":924,"value":488},{"type":920,"tag":482,"props":2043,"children":2044},{"style":1149},[2045],{"type":924,"value":642},{"type":920,"tag":482,"props":2047,"children":2048},{"style":1335},[2049],{"type":924,"value":597},{"type":920,"tag":482,"props":2051,"children":2052},{"style":947},[2053],{"type":924,"value":647},{"type":920,"tag":482,"props":2055,"children":2056},{"style":983},[2057],{"type":924,"value":2058},"Error measuring response time",{"type":920,"tag":482,"props":2060,"children":2061},{"style":947},[2062],{"type":924,"value":647},{"type":920,"tag":482,"props":2064,"children":2065},{"style":947},[2066],{"type":924,"value":960},{"type":920,"tag":482,"props":2068,"children":2069},{"style":947},[2070],{"type":924,"value":688},{"type":920,"tag":482,"props":2072,"children":2073},{"style":952},[2074],{"type":924,"value":1459},{"type":920,"tag":482,"props":2076,"children":2077},{"style":947},[2078],{"type":924,"value":970},{"type":920,"tag":482,"props":2080,"children":2081},{"style":1335},[2082],{"type":924,"value":621},{"type":920,"tag":482,"props":2084,"children":2086},{"class":510,"line":2085},39,[2087],{"type":920,"tag":482,"props":2088,"children":2089},{"style":947},[2090],{"type":924,"value":660},{"type":920,"tag":890,"props":2092,"children":2093},{},[2094],{"type":924,"value":2095},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":480,"searchDepth":518,"depth":518,"links":2097},[],1783080226999]