mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-02-04 14:33:01 +08:00
@@ -3830,6 +3830,31 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/dashboard/base/os": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "获取服务器基础数据",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Dashboard"
|
||||
],
|
||||
"summary": "Load os info",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.OsInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/dashboard/current/:ioOption/:netOption": {
|
||||
"get": {
|
||||
"security": [
|
||||
@@ -16828,6 +16853,26 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.OsInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kernelArch": {
|
||||
"type": "string"
|
||||
},
|
||||
"kernelVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"os": {
|
||||
"type": "string"
|
||||
},
|
||||
"platform": {
|
||||
"type": "string"
|
||||
},
|
||||
"platformFamily": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.PageContainer": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -18967,7 +19012,6 @@ const docTemplate = `{
|
||||
"request.FileEdit": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"path"
|
||||
],
|
||||
"properties": {
|
||||
|
||||
@@ -3823,6 +3823,31 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/dashboard/base/os": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "获取服务器基础数据",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Dashboard"
|
||||
],
|
||||
"summary": "Load os info",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.OsInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/dashboard/current/:ioOption/:netOption": {
|
||||
"get": {
|
||||
"security": [
|
||||
@@ -16821,6 +16846,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.OsInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kernelArch": {
|
||||
"type": "string"
|
||||
},
|
||||
"kernelVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"os": {
|
||||
"type": "string"
|
||||
},
|
||||
"platform": {
|
||||
"type": "string"
|
||||
},
|
||||
"platformFamily": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.PageContainer": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -18960,7 +19005,6 @@
|
||||
"request.FileEdit": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content",
|
||||
"path"
|
||||
],
|
||||
"properties": {
|
||||
|
||||
@@ -1887,6 +1887,19 @@ definitions:
|
||||
option:
|
||||
type: string
|
||||
type: object
|
||||
dto.OsInfo:
|
||||
properties:
|
||||
kernelArch:
|
||||
type: string
|
||||
kernelVersion:
|
||||
type: string
|
||||
os:
|
||||
type: string
|
||||
platform:
|
||||
type: string
|
||||
platformFamily:
|
||||
type: string
|
||||
type: object
|
||||
dto.PageContainer:
|
||||
properties:
|
||||
excludeAppStore:
|
||||
@@ -3319,7 +3332,6 @@ definitions:
|
||||
path:
|
||||
type: string
|
||||
required:
|
||||
- content
|
||||
- path
|
||||
type: object
|
||||
request.FileMove:
|
||||
@@ -7412,6 +7424,21 @@ paths:
|
||||
summary: Load dashboard base info
|
||||
tags:
|
||||
- Dashboard
|
||||
/dashboard/base/os:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: 获取服务器基础数据
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/dto.OsInfo'
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Load os info
|
||||
tags:
|
||||
- Dashboard
|
||||
/dashboard/current/:ioOption/:netOption:
|
||||
get:
|
||||
consumes:
|
||||
|
||||
Reference in New Issue
Block a user