实现手动 proxy 同步接口
This commit is contained in:
@@ -5010,6 +5010,42 @@ paths:
|
||||
default:
|
||||
$ref: "#/components/responses/PlainTextError"
|
||||
|
||||
/api/admin/proxy/sync/ports:
|
||||
post:
|
||||
tags: [admin/proxy]
|
||||
summary: 重建端口池
|
||||
security:
|
||||
- bearerAuth: []
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/IdRequest"
|
||||
responses:
|
||||
"200":
|
||||
description: 成功,无响应体
|
||||
default:
|
||||
$ref: "#/components/responses/PlainTextError"
|
||||
|
||||
/api/admin/proxy/sync/chains:
|
||||
post:
|
||||
tags: [admin/proxy]
|
||||
summary: 重建代理链
|
||||
security:
|
||||
- bearerAuth: []
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/IdRequest"
|
||||
responses:
|
||||
"200":
|
||||
description: 成功,无响应体
|
||||
default:
|
||||
$ref: "#/components/responses/PlainTextError"
|
||||
|
||||
/api/admin/proxy/remove:
|
||||
post:
|
||||
tags: [admin/proxy]
|
||||
|
||||
Reference in New Issue
Block a user