cURL
curl --request GET \ --url https://api.example.com/devices/{device_id}
{ "success": true, "data": { "id": "<string>", "name": "<string>", "ip": "<string>", "port": 123, "password": 123, "timeout": 123, "created_at": "<string>", "updated_at": "<string>" } }
Retrieve the configuration details of a specific device
"principal"
"bodega"
Show Device Object
curl -X GET https://your-server.com/devices/principal
{ "success": true, "data": { "id": "principal", "ip": "192.168.1.205", "port": 4370, "password": 0, "timeout": 5, "name": "Entrada Principal", "created_at": "2026-03-05 10:30:00", "updated_at": "2026-03-06 09:15:00" } }
{ "success": false, "error": "Dispositivo 'nonexistent' no encontrado.", "disponibles": ["principal", "bodega"] }