mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 06:56:36 +08:00
移除Notice
This commit is contained in:
@@ -7301,50 +7301,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/d/notice": {
|
||||
"get": {
|
||||
"description": "返回 OpenFlare 控制台公告文本,无需登录",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"openflare-option"
|
||||
],
|
||||
"summary": "获取系统公告",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "系统公告",
|
||||
"schema": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/response.Any"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "参数错误",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Any"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "内部错误",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Any"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/d/option": {
|
||||
"get": {
|
||||
"security": [
|
||||
|
||||
@@ -7294,50 +7294,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/d/notice": {
|
||||
"get": {
|
||||
"description": "返回 OpenFlare 控制台公告文本,无需登录",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"openflare-option"
|
||||
],
|
||||
"summary": "获取系统公告",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "系统公告",
|
||||
"schema": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/response.Any"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "参数错误",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Any"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "内部错误",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Any"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/d/option": {
|
||||
"get": {
|
||||
"security": [
|
||||
|
||||
@@ -8289,32 +8289,6 @@ paths:
|
||||
summary: 轮换引导令牌
|
||||
tags:
|
||||
- openflare-node
|
||||
/api/v1/d/notice:
|
||||
get:
|
||||
description: 返回 OpenFlare 控制台公告文本,无需登录
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: 系统公告
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/definitions/response.Any'
|
||||
- properties:
|
||||
data:
|
||||
type: string
|
||||
type: object
|
||||
"400":
|
||||
description: 参数错误
|
||||
schema:
|
||||
$ref: '#/definitions/response.Any'
|
||||
"500":
|
||||
description: 内部错误
|
||||
schema:
|
||||
$ref: '#/definitions/response.Any'
|
||||
summary: 获取系统公告
|
||||
tags:
|
||||
- openflare-option
|
||||
/api/v1/d/option:
|
||||
get:
|
||||
description: 返回全部非敏感 OpenFlare 配置项,需要管理员权限
|
||||
|
||||
Reference in New Issue
Block a user