You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ bun test # run all tests
41
41
|`POST`|`/api/v1/material`| Register a MaterialDNA record |
42
42
|`GET`|`/api/v1/material/:id`| Retrieve a material by ID |
43
43
|`GET`|`/api/v1/material`| List materials (`limit`, `category`) |
44
+
|`GET`|`/api/v1/node/info`| Return local node metadata for the lab backend |
44
45
|`POST`|`/api/v1/product`| Register a ProductDNA record |
45
46
|`GET`|`/api/v1/product/:id`| Retrieve a product by ID |
46
47
|`GET`|`/api/v1/product`| List products (`limit`, `category`) |
@@ -56,13 +57,13 @@ bun test # run all tests
56
57
|`POST`|`/api/v1/material-status`| Record a material status update |
57
58
|`GET`|`/api/v1/events`| List loop events (`limit`) |
58
59
|`GET`|`/api/v1/stream`| SSE stream for loop events |
59
-
|`POST`|`/api/v1/relay`| Relay a loop event from another node |
60
+
|`POST`|`/api/v1/relay`| Relay a supported lab loop event from another node |
60
61
61
62
### Federation
62
63
| Method | Path | Description |
63
64
| --- | --- | --- |
64
65
|`GET`|`/api/v1/federation/nodes`| List known federation nodes |
65
-
|`POST`|`/api/v1/federation/handshake`| Register a federation node |
66
+
|`POST`|`/api/v1/federation/handshake`| Register a federation node (lab-only handshake) |
66
67
67
68
### Cities
68
69
| Method | Path | Description |
@@ -80,6 +81,8 @@ bun test # run all tests
80
81
|`GET`|`/docs`| Redoc UI |
81
82
82
83
LOOP write routes accept both `application/json` and `application/ld+json`.
84
+
The backend also serves `GET /api/v1/node/info` as a minimal lab-only node metadata endpoint.
85
+
Spec endpoints that remain unimplemented in this repo are `/api/v1/material/search`, `/api/v1/signals`, `/api/v1/transaction`, `/api/v1/federate/announce`, and `/api/v1/federate/offer`.
0 commit comments