JXCT Soil Sensor 7-in-1 3.10.1
IoT система мониторинга почвы на базе ESP32
Загрузка...
Поиск...
Не найдено
jxct_strings.h
См. документацию.
1#pragma once
2
3// Centralized API route strings for the web layer. Use these constants instead of hard-coded literals.
4
5#define API_ROOT "/api/v1"
6
7// Sensor data
8#define API_SENSOR API_ROOT "/sensor"
9
10// System
11#define API_SYSTEM API_ROOT "/system"
12#define API_SYSTEM_HEALTH API_SYSTEM "/health"
13#define API_SYSTEM_STATUS API_SYSTEM "/status"
14#define API_SYSTEM_RESET API_SYSTEM "/reset"
15#define API_SYSTEM_REBOOT API_SYSTEM "/reboot"
16
17// Config
18#define API_CONFIG_EXPORT API_ROOT "/config/export"