From 211d1554a836100f46478b599f90c242cc060cca Mon Sep 17 00:00:00 2001 From: Kiow Date: Mon, 22 Jun 2026 22:02:30 +0300 Subject: [PATCH] v36 --- core-routes.md | 1 + node.md | 1 + 2 files changed, 2 insertions(+) diff --git a/core-routes.md b/core-routes.md index 4e3383d..bead8f1 100644 --- a/core-routes.md +++ b/core-routes.md @@ -133,6 +133,7 @@ This file lists the current HTTP routes exposed by Core, grouped by access level | `POST` | `/admin/nodes/:id/protocols` | `CreateProtocolDto` | Creates a node protocol | | `PUT` | `/admin/nodes/:id/protocols/:protocolId` | `UpdateProtocolDto` | Updates a node protocol | | `DELETE` | `/admin/nodes/:id/protocols/:protocolId` | none | Deletes a node protocol | +| `GET` | `/admin/nodes/:id/protocols/:protocolId/xray-preview` | none | Final user-stripped Xray inbound JSON (Xray protocols only) | | `GET` | `/admin/nodes/:id/accesses` | none | User access map for the node | | `POST` | `/admin/nodes/:nodeId/access/:userId/:protocol` | none | Grants protocol access | | `DELETE` | `/admin/nodes/:nodeId/access/:userId/:protocol` | none | Revokes protocol access | diff --git a/node.md b/node.md index dbbcc67..13eb308 100644 --- a/node.md +++ b/node.md @@ -121,6 +121,7 @@ All other routes require `x-node-auth-key`. | `POST` | `/node/geoip/update` | Update GeoIP/geosite files. | | `POST` | `/node/xray/probe-outbound` | Test an outbound connection and return latency. | | `POST` | `/node/xray/tls-ping` | Run `xray tls ping `; vet a REALITY target (incl. ML-DSA-65 readiness). | +| `GET` | `/node/xray/inbound-preview?tag=` | Read one inbound from the running `config.json`, empty user arrays, return `{ config }` (read-only). | | `POST` | `/node/crypto/x25519` | Generate X25519 keys. | | `POST` | `/node/crypto/mldsa65` | Generate an ML-DSA-65 seed/verify pair. | | `POST` | `/node/crypto/tls-ech` | Generate TLS-ECH keys. |