@apocaliss92/nodelink-js 0.1.20 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -1
- package/dist/{DiagnosticsTools-NUMCYEKQ.js → DiagnosticsTools-FNLGCOVA.js} +2 -2
- package/dist/{chunk-EHWVA3SG.js → chunk-MN7GUZT7.js} +981 -250
- package/dist/chunk-MN7GUZT7.js.map +1 -0
- package/dist/{chunk-YPU7RAEY.js → chunk-NLTB7GTA.js} +17 -1
- package/dist/{chunk-YPU7RAEY.js.map → chunk-NLTB7GTA.js.map} +1 -1
- package/dist/cli/rtsp-server.cjs +978 -247
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +2 -2
- package/dist/index.cjs +1002 -249
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +246 -16
- package/dist/index.d.ts +260 -15
- package/dist/index.js +26 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-EHWVA3SG.js.map +0 -1
- /package/dist/{DiagnosticsTools-NUMCYEKQ.js.map → DiagnosticsTools-FNLGCOVA.js.map} +0 -0
package/README.md
CHANGED
|
@@ -251,6 +251,23 @@ Tip: a personal token is ideal for integrations (Home Assistant, scripts, etc.)
|
|
|
251
251
|
|
|
252
252
|
---
|
|
253
253
|
|
|
254
|
+
## Manager REST API
|
|
255
|
+
|
|
256
|
+
The Manager UI exposes a REST API for integrations, scripts, and third-party apps. Key endpoints:
|
|
257
|
+
|
|
258
|
+
| Category | Endpoints |
|
|
259
|
+
|----------|-----------|
|
|
260
|
+
| **Auth** | `GET /api/auth/config`, `POST /api/auth/login`, `POST /api/auth/personal-token` |
|
|
261
|
+
| **Streaming** | `GET /api/mpeg/:camera/:profile`, `GET /api/hls/:camera/:profile/playlist.m3u8`, `POST /api/webrtc/session` |
|
|
262
|
+
| **Events** | `GET /api/events/sse` (SSE), `GET /api/events/stream` (NDJSON), `GET /api/events/status` |
|
|
263
|
+
| **System** | `GET /api/health`, `GET /api/metrics`, `GET /api/updates` |
|
|
264
|
+
|
|
265
|
+
**Events** — Real-time camera events (motion, doorbell, people, vehicle, etc.) via Server-Sent Events or NDJSON stream. When MQTT is configured, events are also published to the broker.
|
|
266
|
+
|
|
267
|
+
📖 **[Full Manager API documentation →](./documentation/manager-api.md)**
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
254
271
|
## 📚 Full API Documentation
|
|
255
272
|
|
|
256
273
|
For detailed method-by-method documentation, see the [documentation](./documentation/) folder:
|
|
@@ -269,7 +286,7 @@ For detailed method-by-method documentation, see the [documentation](./documenta
|
|
|
269
286
|
| [Intercom](./documentation/baichuan-api/intercom.md) | Two-way audio, talk sessions |
|
|
270
287
|
| [Snapshots](./documentation/baichuan-api/snapshots.md) | Capture images, thumbnails |
|
|
271
288
|
| [Detection](./documentation/baichuan-api/detection.md) | Motion, AI, PIR, autotracking settings |
|
|
272
|
-
| [Lights](./documentation/baichuan-api/lights.md)
|
|
289
|
+
| [Lights & Chime](./documentation/baichuan-api/lights.md) | Spotlight, floodlight, siren, chime/DingDong |
|
|
273
290
|
| [Battery](./documentation/baichuan-api/battery.md) | Battery status, sleep/wake management |
|
|
274
291
|
| [OSD](./documentation/baichuan-api/osd.md) | On-screen display configuration |
|
|
275
292
|
| [Network](./documentation/baichuan-api/network.md) | Network, WiFi, storage, system settings |
|
|
@@ -284,6 +301,7 @@ For detailed method-by-method documentation, see the [documentation](./documenta
|
|
|
284
301
|
|
|
285
302
|
| Section | Description |
|
|
286
303
|
| ------------------------------------------------- | ------------------------------------- |
|
|
304
|
+
| [**Manager REST API**](./documentation/manager-api.md) | HTTP API for auth, streaming, events, metrics |
|
|
287
305
|
| [Streaming Servers](./documentation/streaming.md) | RTSP, RFC4571, HTTP streaming servers |
|
|
288
306
|
| [Network Discovery](./documentation/discovery.md) | Automatic camera discovery via UDP |
|
|
289
307
|
|
|
@@ -655,6 +673,7 @@ This library has been tested with:
|
|
|
655
673
|
|
|
656
674
|
- [Baichuan Protocol API](./documentation/baichuan-api/README.md) - Binary protocol (port 9000)
|
|
657
675
|
- [CGI HTTP API](./documentation/cgi-api/README.md) - HTTP REST API (port 80)
|
|
676
|
+
- [Manager REST API](./documentation/manager-api.md) - Web dashboard HTTP API (auth, streaming, events, metrics)
|
|
658
677
|
- [Streaming Servers](./documentation/streaming.md) - RTSP, RFC4571, HTTP servers
|
|
659
678
|
- [Network Discovery](./documentation/discovery.md) - UDP autodiscovery
|
|
660
679
|
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
runMultifocalDiagnosticsConsecutively,
|
|
10
10
|
sampleStreams,
|
|
11
11
|
testChannelStreams
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NLTB7GTA.js";
|
|
13
13
|
export {
|
|
14
14
|
collectCgiDiagnostics,
|
|
15
15
|
collectMultifocalDiagnostics,
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
sampleStreams,
|
|
23
23
|
testChannelStreams
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=DiagnosticsTools-
|
|
25
|
+
//# sourceMappingURL=DiagnosticsTools-FNLGCOVA.js.map
|