使用热重载
This commit is contained in:
22
api.md
22
api.md
@@ -331,6 +331,26 @@ Same endpoints as V1 but under `/api/v2/passport/` prefix.
|
||||
- **Purpose**: Get server configuration
|
||||
- **Returns**: Server configuration
|
||||
- **Data**: Server settings and parameters
|
||||
- **Example Response**:
|
||||
```json
|
||||
{
|
||||
"protocol": "vless",
|
||||
"listen_ip": "0.0.0.0",
|
||||
"server_port": 18443,
|
||||
"network": "tcp",
|
||||
"tls": 2,
|
||||
"server_name": "git.example.com",
|
||||
"dest": "www.cloudflare.com:443",
|
||||
"private_key": "YOUR_REALITY_PRIVATE_KEY",
|
||||
"short_id": "01234567",
|
||||
"accept_proxy_protocol": true,
|
||||
"base_config": {
|
||||
"push_interval": 60,
|
||||
"pull_interval": 60
|
||||
}
|
||||
}
|
||||
```
|
||||
- **Proxy Protocol Note**: Set `accept_proxy_protocol` to `true` only when this node is behind an L4 proxy or load balancer that really sends PROXY protocol headers. Direct client connections will fail if this is enabled without an upstream PROXY sender.
|
||||
|
||||
- **GET** `/api/v1/server/UniProxy/user`
|
||||
- **Purpose**: Get user data for server
|
||||
@@ -952,4 +972,4 @@ Same endpoints as V1 but under `/api/v2/passport/` prefix.
|
||||
|
||||
6. **Filtering**: Admin endpoints often support filtering and sorting parameters.
|
||||
|
||||
This documentation provides a comprehensive overview of all available API endpoints in the Xboard system. Each endpoint serves specific functionality within the VPN service management platform.
|
||||
This documentation provides a comprehensive overview of all available API endpoints in the Xboard system. Each endpoint serves specific functionality within the VPN service management platform.
|
||||
|
||||
Reference in New Issue
Block a user