mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 16:04:50 +03:00
Merge remote-tracking branch 'origin/main' into codex/nodes-fleet-7342
This commit is contained in:
@@ -6081,6 +6081,43 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"RemoteInboundOption": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"example": 7,
|
||||
"type": "integer"
|
||||
},
|
||||
"listen": {
|
||||
"example": "127.0.0.1",
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"example": 443,
|
||||
"type": "integer"
|
||||
},
|
||||
"protocol": {
|
||||
"example": "vless",
|
||||
"type": "string"
|
||||
},
|
||||
"remark": {
|
||||
"example": "VLESS-443",
|
||||
"type": "string"
|
||||
},
|
||||
"tag": {
|
||||
"example": "in-443",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"listen",
|
||||
"port",
|
||||
"protocol",
|
||||
"remark",
|
||||
"tag"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ServerSettings": {
|
||||
"description": "ServerSettings is the \"server\" block of an AmneziaWG inbound's Settings\nJSON: the interface-level configuration shared by every client/peer. The\nlisten port is deliberately not duplicated here — it lives on the inbound\nrow itself (Inbound.Port), like every other protocol.",
|
||||
"properties": {
|
||||
@@ -7373,6 +7410,55 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/panel/api/inbounds/catalog": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Inbounds"
|
||||
],
|
||||
"summary": "List inbound metadata for the authenticated user. Returns id, tag, remark, listen, protocol, and port for remote ID lookup and reconciliation.",
|
||||
"operationId": "get_panel_api_inbounds_catalog",
|
||||
"description": "Available to panel sessions, admin, node-admin, and node-sync tokens. The catalog queries only metadata columns. An empty catalog is returned as an empty array.",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"msg": {
|
||||
"type": "string"
|
||||
},
|
||||
"obj": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/RemoteInboundOption"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"example": {
|
||||
"success": true,
|
||||
"obj": [
|
||||
{
|
||||
"id": 7,
|
||||
"listen": "127.0.0.1",
|
||||
"port": 443,
|
||||
"protocol": "vless",
|
||||
"remark": "VLESS-443",
|
||||
"tag": "in-443"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/panel/api/inbounds/options": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
||||
Reference in New Issue
Block a user