Thème
Superviseur — Frontend v0.14.0
Superviseur — Frontend / config/constants / API_ENDPOINTS
Variable: API_ENDPOINTS
ts
const API_ENDPOINTS: object;Défini dans: config/constants.ts:109
Points d'accès (URLs) de l'API backend regroupés par domaine fonctionnel.
Déclaration de type
| Name | Type | Default value | Défini dans |
|---|---|---|---|
AUTH | object | - | config/constants.ts:110 |
AUTH.LOGIN | "/api/auth/login" | '/api/auth/login' | config/constants.ts:111 |
AUTH.LOGOUT | "/api/auth/logout" | '/api/auth/logout' | config/constants.ts:112 |
AUTH.CHANGE_PASSWORD | "/api/auth/change-password" | '/api/auth/change-password' | config/constants.ts:113 |
AUTH.REFRESH | "/api/auth/refresh" | '/api/auth/refresh' | config/constants.ts:114 |
AUTH.ME | "/api/auth/me" | '/api/auth/me' | config/constants.ts:115 |
AUTH.VERIFY_PROFILES | "/api/auth/verify-profiles" | '/api/auth/verify-profiles' | config/constants.ts:116 |
USERS | "/api/users" | '/api/users' | config/constants.ts:118 |
LOGS | object | - | config/constants.ts:119 |
LOGS.GET_LOGS | "/api/logs" | '/api/logs' | config/constants.ts:120 |
LOGS.DELETE_ALL | "/api/logs/all" | '/api/logs/all' | config/constants.ts:121 |
CONFIGURATIONS | "/api/panels" | '/api/panels' | config/constants.ts:123 |
MODBUS_PROFILES | "/api/modbus/profiles" | '/api/modbus/profiles' | config/constants.ts:124 |
MODBUS | object | - | config/constants.ts:125 |
MODBUS.STATUS | "/api/modbus/status" | '/api/modbus/status' | config/constants.ts:126 |
MODBUS.READ | "/api/modbus/read" | '/api/modbus/read' | config/constants.ts:127 |
MODBUS.WRITE | "/api/modbus/write" | '/api/modbus/write' | config/constants.ts:128 |
MODBUS.WRITE_REGISTER | "/api/modbus/write-register" | '/api/modbus/write-register' | config/constants.ts:129 |
MODBUS.COMMAND | "/api/modbus/command" | '/api/modbus/command' | config/constants.ts:130 |
MODBUS.TEST_CONNECTION | "/api/modbus/test-connection" | '/api/modbus/test-connection' | config/constants.ts:131 |
MAPS | "/api/Maps" | '/api/Maps' | config/constants.ts:133 |
STATION_STATE | "/api/StationState" | '/api/StationState' | config/constants.ts:134 |
CONFIG | object | - | config/constants.ts:135 |
CONFIG.PUBLIC | "/api/config/public" | '/api/config/public' | config/constants.ts:136 |