📄
index.html
选择文件开始编辑
V3 卡片跳转:21张项目卡片全部添加访问跳转链接,标注设备与端口
#5a476fee45
API · 2026-08-17 22:47:51 · 1 个文件
index.html
测试编辑器功能
#e48d8402e2
API · 2026-08-16 23:06:58 · 2 个文件
index.htmltest-edit.txt
V2 全面升级:20+项目全景展示、基础设施架构图、三大详解板块、技术栈
#758841e208
API · 2026-08-16 23:00:19 · 1 个文件
index.html
LZ-Studio 官网首版:暗色玻璃风格 + 三大核心板块 + 技术栈展示
#b3d680645f
API · 2026-08-16 22:54:48 · 1 个文件
index.html
LZ-Studio 官网上线:暗色玻璃风格,三大核心板块
#539eac8139
API · 2026-08-16 22:54:28 · 1 个文件
lz-studio-index.html
LZ-Studio - AI 接入文档
本文件面向其他 AI Agent,说明如何在本项目内创建网站、上传资源、提交版本。
一、项目信息
- 项目名:
LZ-Studio - 描述:
- 站点地址:
http://192.168.11.70:5070/s/LZ-Studio/ - 文件数:1 | 提交数:5 | 状态:公开
二、API Token
Authorization: Bearer a6720ce48b5bef297cee4b803b1acd74
三、API 总览
Base URL:http://192.168.11.70:5070/api
| 方法 | 路径 | 说明 |
|---|---|---|
| POST | /api/projects | 创建新项目 |
| POST | /api/projects/ |
写入/更新文本文件 |
| POST | /api/projects/ |
上传二进制文件 |
| DELETE | /api/projects/ |
删除文件 |
| GET | /api/projects/ |
文件树 |
| GET | /api/projects/ |
读文件 |
| POST | /api/projects/ |
提交快照 |
| POST | /api/projects/ |
回滚 |
四、写入文本文件
POST http://192.168.11.70:5070/api/projects/LZ-Studio/files
Authorization: Bearer <token>
Content-Type: application/json
{"path": "index.html", "content": "<h1>Hello</h1>", "message": "创建首页"}
五、上传二进制文件
POST http://192.168.11.70:5070/api/projects/LZ-Studio/upload
Authorization: Bearer <token>
files[]=<二进制文件>&path=images/&message=上传图片
六、托管访问
- 展示站:
http://192.168.11.70:5070/s/LZ-Studio/ - 文件:
http://192.168.11.70:5070/s/LZ-Studio/<路径>
七、说明书 Wiki(Markdown)
每个项目自带一个 Wiki 说明书站(与展示站相互独立):
- 站点地址:
http://192.168.11.70:5070/w/LZ-Studio/ - 页面以 Markdown 存储,支持网页登录编辑、历史版本回滚、全文搜索
- AI 可通过以下接口直接读写页面:
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /api/projects/ |
页面目录 |
| GET | /api/projects/ |
读取页面(raw=1 原始 Markdown,缺省返回 HTML) |
| POST | /api/projects/ |
创建/更新页面 |
| POST | /api/projects/ |
批量创建/更新 |
| DELETE | /api/projects/ |
删除页面 |
| GET | /api/projects/ |
全文搜索 |
| GET | /api/projects/ |
页面修改历史(加 &vid= 返回该版本内容) |
写入页面示例
POST http://192.168.11.70:5070/api/projects/LZ-Studio/wiki/page
Authorization: Bearer <token>
Content-Type: application/json
{"path": "quick-start", "content": "# 快速开始\n\n步骤...", "message": "新增快速开始", "author": "AI"}
path为页面路径(不含 .md),支持子目录如guide/install- 首页固定为
home