Checking the provider's Endpoint URL availability
Periodic check of the provider's Endpoint URL availability.
Smart home platform request format
The smart home platform can send a request to the provider's Endpoint URL (https://example.com/) from time to time.
HEAD https://example.com/v1.0
Provider response format
The provider must use the correct format to respond to the request received from Yango Smart Home.
HTTP/1.1 200 OK
HTTP/1.1 404 Not Found
Error code | Description | Explanation |
---|---|---|
400 | Bad Request | Error in the request. |
404 | Not Found | The resource has not been found at the given path. |
500 | Internal Server Error | Internal server error. |
Error code | Description | Explanation |
---|---|---|
400 | Bad Request | Error in the request. |
404 | Not Found | The resource has not been found at the given path. |
500 | Internal Server Error | Internal server error. |
Example
curl -i -X HEAD 'https://example.com/v1.0'
HTTP/1.1 200 OK
HTTP/1.1 500 Internal Server Error