// Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag
package docs
import (
"bytes"
"encoding/json"
"strings"
"text/template"
"github.com/swaggo/swag"
)
var doc = `{
"schemes": {{ marshal .Schemes }},
"swagger": "2.0",
"info": {
"description": "{{escape .Description}}",
"title": "{{.Title}}",
"termsOfService": "http://swagger.io/terms/",
"contact": {},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "{{.Version}}"
},
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {
"/apps/:key": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "通过 key 获取应用信息",
"consumes": [
"application/json"
],
"tags": [
"App"
],
"summary": "Search app by key",
"parameters": [
{
"type": "string",
"description": "app key",
"name": "key",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppDTO"
}
}
}
}
},
"/apps/checkupdate": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "获取应用更新版本",
"tags": [
"App"
],
"summary": "Get app list update",
"responses": {
"200": {
"description": ""
}
}
}
},
"/apps/detail/:appId/:version/:type": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "通过 appid 获取应用详情",
"consumes": [
"application/json"
],
"tags": [
"App"
],
"summary": "Search app detail by appid",
"parameters": [
{
"type": "integer",
"description": "app id",
"name": "appId",
"in": "path",
"required": true
},
{
"type": "string",
"description": "app 版本",
"name": "version",
"in": "path",
"required": true
},
{
"type": "string",
"description": "app 类型",
"name": "version",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppDetailDTO"
}
}
}
}
},
"/apps/details/:id": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "通过 id 获取应用详情",
"consumes": [
"application/json"
],
"tags": [
"App"
],
"summary": "Get app detail by id",
"parameters": [
{
"type": "integer",
"description": "id",
"name": "appId",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppDetailDTO"
}
}
}
}
},
"/apps/install": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "安装应用",
"consumes": [
"application/json"
],
"tags": [
"App"
],
"summary": "Install app",
"parameters": [
{
"description": "request",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppInstallCreate"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/model.AppInstall"
}
}
},
"x-panel-log": {
"BeforeFuntions": [
{
"db": "app_installs",
"input_column": "name",
"input_value": "name",
"isList": false,
"output_column": "app_id",
"output_value": "appId"
},
{
"db": "apps",
"info": "appId",
"isList": false,
"output_column": "key",
"output_value": "appKey"
}
],
"bodyKeys": [
"name"
],
"formatEN": "Install app [appKey]-[name]",
"formatZH": "安装应用 [appKey]-[name]",
"paramKeys": []
}
}
},
"/apps/installed/:appInstallId/versions": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "通过 install id 获取应用更新版本",
"consumes": [
"application/json"
],
"tags": [
"App"
],
"summary": "Search app update version by install id",
"parameters": [
{
"type": "integer",
"description": "request",
"name": "appInstallId",
"in": "path",
"required": true
}
],
"responses": {
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
1Panel 是一个现代化、开源的 Linux 服务器运维管理面板。1Panel 的功能和优势包括:快速建站:深度集成 Wordpress 和 Halo,域名绑定、SSL 证书配置等一键搞定。高效管理:通过 Web 端轻松管理 Linux 服务器,包括主机监控、文件管理、数据库管理、容器管理等。安全可靠:基于容器来管理和部署应用,最小漏洞暴露面,提供防火墙和日志审计等功能。一键备份:支持一键备份和恢复,备份数据到各类云端存储,永不丢失。
资源推荐
资源详情
资源评论
收起资源包目录
1Panel 是一个现代化、开源的 Linux 服务器运维管理面板 (780个子文件)
ecshop.conf 3KB
sablog.conf 1KB
website_default.conf 1KB
discuzx2.conf 910B
discuzx3.conf 909B
discuzx.conf 879B
dedecms.conf 744B
maccms.conf 725B
empirecms.conf 593B
seacms.conf 562B
ssl.conf 546B
cache.conf 485B
discuz.conf 456B
phpcms.conf 431B
proxy.conf 412B
shopwind.conf 402B
gzip.conf 391B
zblog.conf 197B
wp2.conf 186B
proxy_no_cache.conf 186B
phpwind.conf 157B
proxy_cache.conf 156B
thinkphp.conf 149B
edusoho.conf 128B
shopex.conf 120B
typecho2.conf 112B
emlog.conf 111B
crmeb.conf 108B
wordpress.conf 107B
dbshop.conf 103B
mvc.conf 100B
niushop.conf 98B
dabr.conf 83B
typecho.conf 81B
drupal.conf 78B
laravel5.conf 65B
default.conf 0B
iconfont.css 3KB
style.css 59B
qqwry.dat 9.98MB
.env.development 217B
.editorconfig 532B
.env 296B
.eslintignore 129B
.gitattributes 25B
.gitignore 580B
.gitignore 296B
docs.go 471KB
website.go 53KB
snapshot.go 31KB
website.go 29KB
app_utils.go 28KB
file.go 25KB
container.go 22KB
app.go 22KB
container.go 22KB
app_install.go 22KB
database_mysql.go 19KB
website_utils.go 18KB
backup.go 15KB
cronjob_helper.go 15KB
init.go 13KB
file_op.go 13KB
ssh.go 13KB
backup.go 13KB
database_mysql.go 12KB
app_install.go 11KB
firewall.go 11KB
setting.go 11KB
image.go 11KB
setting.go 10KB
cornjob.go 10KB
onedrive.go 10KB
acme_test.go 9KB
host.go 9KB
cronjob.go 9KB
image.go 9KB
upgrade.go 8KB
website_ssl.go 8KB
docker.go 8KB
backup_app.go 8KB
server.go 8KB
database_redis.go 8KB
runtime.go 8KB
snapshot.go 8KB
database_redis.go 7KB
process_data.go 7KB
backup_website.go 7KB
database.go 7KB
file.go 7KB
host.go 7KB
website_ssl.go 7KB
container_compose.go 7KB
image_repo.go 7KB
firewall.go 7KB
terminal.go 7KB
nginx_utils.go 6KB
app_install.go 6KB
location.go 6KB
website.go 6KB
共 780 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6651
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功