---
metadata:
  - name: generator
    content: Diplodoc Platform v5.66.0
alternate:
  - https://yandex.ru/dev/dialogs/smart-home/doc/en/reference/check.md
  - https://yandex.ru/dev/dialogs/smart-home/doc/ru/reference/check.md
  - href: https://yandex.ru/dev/dialogs/smart-home/doc/ru/reference/check.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/dev/dialogs/smart-home/doc/ru/llms.txt?revision=r21995741
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/dialogs/smart-home/doc/ru/llms.txt?revision=r21995741

# Проверка доступности Endpoint URL провайдера

<!-- source: ru/_includes/reusables/neuroexpert-button.md -->



<!-- endsource: ru/_includes/reusables/neuroexpert-button.md -->


Периодическая проверка доступности [Endpoint URL](*endpoint-url) провайдера.

## Формат запроса платформы умного дома {#input}

Платформа умного дома может периодически отправлять запрос на Endpoint URL провайдера (https://example.com).

```bash translate=no
HEAD https://example.com/v1.0
```

<!--<section id="headers" conref="get-devices.dita#input/headers"><title/><p/></section> -->


## Формат ответа провайдера {#output-structure}

Провайдер должен ответить на полученный от платформы умного дома запрос согласно формату.

{% list tabs %}

- Успешный ответ


  ```json translate=no
  HTTP/1.1 200 OK
  ```


- Ответ с ошибкой


  ```json translate=no
  HTTP/1.1 404 Not Found
  ```
  #|
  ||
  **Код ошибки**
  |
  **Описание**
  |
  **Пояснение**
  ||

  ||
  <!-- source: ru/_includes/concepts/response-codes/400-col-1.md -->
  400
  <!-- endsource: ru/_includes/concepts/response-codes/400-col-1.md -->
  |
  <!-- source: ru/_includes/concepts/response-codes/400-col-2.md -->
  Bad Request
  <!-- endsource: ru/_includes/concepts/response-codes/400-col-2.md -->
  |
  <!-- source: ru/_includes/concepts/response-codes/400-col-3.md -->
  Ошибка в запросе.
  <!-- endsource: ru/_includes/concepts/response-codes/400-col-3.md -->
  ||

  ||
  <!-- source: ru/_includes/concepts/response-codes/404-col-1.md -->
  404
  <!-- endsource: ru/_includes/concepts/response-codes/404-col-1.md -->
  |
  <!-- source: ru/_includes/concepts/response-codes/404-col-2.md -->
  Not Found
  <!-- endsource: ru/_includes/concepts/response-codes/404-col-2.md -->
  |
  <!-- source: ru/_includes/concepts/response-codes/404-col-3.md -->
  Ресурс по указанному пути не найден.
  <!-- endsource: ru/_includes/concepts/response-codes/404-col-3.md -->
  ||

  ||
  <!-- source: ru/_includes/concepts/response-codes/500-col-1.md -->
  500
  <!-- endsource: ru/_includes/concepts/response-codes/500-col-1.md -->
  |
  <!-- source: ru/_includes/concepts/response-codes/500-col-2.md -->
  Internal Server Error
  <!-- endsource: ru/_includes/concepts/response-codes/500-col-2.md -->
  |
  <!-- source: ru/_includes/concepts/response-codes/500-col-3.md -->
  Внутренняя ошибка сервера.
  <!-- endsource: ru/_includes/concepts/response-codes/500-col-3.md -->
  ||
  |#

{% endlist %}


## Пример {#example-JSON}

> {% list tabs %}
>
> - Запрос
>
>
>   ```bash translate=no
>   curl -i -X HEAD 'https://example.com/v1.0'
>   ```
>
>
> - Успешный ответ
>
>
>   ```json translate=no
>   HTTP/1.1 200 OK
>   ```
>
>
> - Ответ с ошибкой
>
>
>   ```json translate=no
>   HTTP/1.1 500 Internal Server Error
>   ```
>
> {% endlist %}


<!-- source: ru/_includes/about/id-support/support-button.md -->
[![Служба поддержки](../_images/support-image.svg)](https://yandex.ru/dev/dialogs/smart-home/doc/ru/feedback.md)
<!-- endsource: ru/_includes/about/id-support/support-button.md -->

[*endpoint-url]:
  **Endpoint URL** — адрес обработчика навыка. Обработчик обязательно должен работать по HTTPS, а протокол должен быть указан в адресе, например `https://example.com/smart-home/`.