Overview
The ICP System frontend communicates with a single backend REST API. Every request is sent through the shared Axios instance insrc/shared/api/http.ts with the base path /api.
All endpoints (except
POST /v1/auth/login) require a valid Bearer token. The token is attached automatically by the request interceptor in http.ts:Standard response envelope
Most list and mutation endpoints return a consistent response shape:Sample authenticated request
Endpoints by resource
Authentication
Authentication
Login request body
/v1/auth/me responseProviders (Proveedores)
Providers (Proveedores)
GET /v1/proveedores/listar query parametersPUT /v1/proveedores/editar request bodyProvider Services (Servicios de Proveedor)
Provider Services (Servicios de Proveedor)
GET /v1/servicios-proveedor/listar query parametersPOST /v1/servicios-proveedor/:id/ajustar-capacidad request bodydelta_disponible increases available capacity; a negative value decreases it.Nodes (Nodos)
Nodes (Nodos)
GET /v1/nodos/listar query parametersGET /v1/nodos/:id response shapeConnections (Conexiones / Enlaces)
Connections (Conexiones / Enlaces)
GET /v1/conexiones/listar query parametersPOST /v1/conexiones request body (key fields)Equipment (Equipos Principales)
Equipment (Equipos Principales)
GET /v1/equipo_principal/listar query parametersPOST /v1/equipo_principal/crear request bodyImport (Importación)
Import (Importación)
Both endpoints accept a
multipart/form-data body with a single file field containing the .xlsx file.POST /v1/importacion/listar-columnas response shape/v1/importacion/listar-hoja-datosCID, ID PROVEEDOR, PROVEEDOR, CONDICION, MODALIDAD, DESTINO, CAPACIDAD COMPRADA, OBSERVACIÓN, CAPACIDAD VENDIDA, OBSERVACION DE VENTA, CAPACIDAD ACTUAL