esp_iot_framework  v0.1.0-alpha
© 2026 AmakeSasha, distributed under a license Apache-2.0
REST API

Device REST API documentation.

The esp_iot_framework_device provides a comprehensive REST API and static files for device management and monitoring. All API endpoints are prefixed with /_/ and support JSON format for requests and responses.

Authentication

When Kconfig option CONFIG_EIF_ENABLE_BASIC_AUTH is enabled, all administrative endpoints (all endpoints listed in MAP URIs) require HTTP Basic Authentication.

To authenticate, include the following HTTP header in each of your requests:

Authorization: Basic <base64_encoded_credentials>
Note
Replace the <base64_encoded_credentials> above with your Base64-encoded admin:<your_password>. <your_password> set via web interface or API (default: empty string).

Example of use:

GET /_/wifi/result.json HTTP/1.1
Host: 192.168.4.1
Authorization: Basic YWRtaW46
Content-Length: 20
{"profile_index": 1}

Map URIs

HTTP Status Codes

API Endpoints

Wi-Fi Management






TLS Management

Note
Only available if the Kconfig option CONFIG_EIF_ENABLE_TLS is enabled.


System Management



OTA Updates





Authentication Management

Note
Only available if the Kconfig option CONFIG_EIF_ENABLE_BASIC_AUTH is enabled.