Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:memo: API 英文文档 https://github.com/siyuan-note/siyuan/issues/4095

Liang Ding6110289bd50d
diff --git a/API.md b/API.md
index 8af99f3161..e4e4e5ee74 100644
--- a/API.md
+++ b/API.md
@@ -1,42 +1,42 @@
* [Specification](#Specification)
* [Parameters and return values](#Parameters-and-return-values)
- * [鉴权](#鉴权)
-* [笔记本](#笔记本)
- * [列出笔记本](#列出笔记本)
- * [打开笔记本](#打开笔记本)
- * [关闭笔记本](#关闭笔记本)
- * [重命名笔记本](#重命名笔记本)
- * [创建笔记本](#创建笔记本)
- * [删除笔记本](#删除笔记本)
- * [获取笔记本配置](#获取笔记本配置)
- * [保存笔记本配置](#保存笔记本配置)
-* [文档](#文档)
- * [通过 Markdown 创建文档](#通过-markdown-创建文档)
- * [重命名文档](#重命名文档)
- * [删除文档](#删除文档)
- * [移动文档](#移动文档)
- * [根据路径获取人类可读路径](#根据路径获取人类可读路径)
-* [资源文件](#资源文件)
- * [上传资源文件](#上传资源文件)
-* [块操作](#块操作)
- * [插入块](#插入块)
- * [插入前置子块](#插入前置子块)
- * [插入后置子块](#插入后置子块)
- * [更新块](#更新块)
- * [删除块](#删除块)
-* [属性](#属性)
- * [设置块属性](#设置块属性)
- * [获取块属性](#获取块属性)
+ * [Authentication](#Authentication)
+* [Notebooks](#Notebooks)
+ * [List notebooks](#List-notebooks)
+ * [Open a notebook](#Open-a-notebook)
+ * [Close a notebook](#Close-a-notebook)
+ * [Rename a notebook](#Rename-a-notebook)
+ * [Create a notebook](#Create-a-notebook)
+ * [Remove a notebook](#Remove-a-notebook)
+ * [Get notebook configuration](#Get-notebook-configuration)
+ * [Save notebook configuration](#Save-notebook-configuration)
+* [Documents](#Documents)
+ * [Create a document with Markdown](#Create-a-document-with-Markdown)
+ * [Rename a document](#Rename-a-document)
+ * [Remove a document](#Remove-a-document)
+ * [Move a document](#Move-a-document)
+ * [Get human-readable path based on path](#Get-human-readable-path-based-on-path)
+* [Assets](#Assets)
+ * [Upload assets](#Upload-assets)
+* [Blocks](#Blocks)
+ * [Insert blocks](#Insert-blocks)
+ * [Prepend blocks](#Prepend-blocks)
+ * [Append blocks](#Append-blocks)
+ * [Update a block](#Update-a-block)
+ * [Delete a block](#Delete-a-block)
+* [Attributes](#Attributes)
+ * [Set block attributes](#Set-block-attributes)
+ * [Get block attributes](#Get-block-attributes)
* [SQL](#SQL)
- * [SQL 查询](#SQL-查询)
-* [模板](#模板)
- * [渲染模板](#渲染模板)
-* [导出](#导出)
- * [导出 Markdown 文本](#导出-markdown-文本)
-* [系统](#系统)
- * [获取启动进度](#获取启动进度)
- * [获取系统版本](#获取系统版本)
- * [获取系统当前时间](#获取系统当前时间)
+ * [Execute SQL query](#Execute-SQL-query)
+* [Templates](#Templates)
+ * [Render a template](#Render-a-template)
+* [Export](#Export)
+ * [Export Markdown](#Export-Markdown)
+* [System](#System)
+ * [Get boot progress](#Get-boot-progress)
+ * [Get system version](#Get-system-version)
+ * [Get the current time of the system](#Get-the-current-time-of-the-system)
* [Webhook](#Webhook)
---
@@ -662,7 +662,7 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
## Attributes
-### Set block properties
+### Set block attributes
* `/api/attr/setBlockAttrs`
* Parameters
diff --git a/API_zh_CN.md b/API_zh_CN.md
index a4e88b5be6..6dceca7dd7 100644
--- a/API_zh_CN.md
+++ b/API_zh_CN.md
@@ -18,7 +18,7 @@
* [根据路径获取人类可读路径](#根据路径获取人类可读路径)
* [资源文件](#资源文件)
* [上传资源文件](#上传资源文件)
-* [块操作](#块操作)
+* [块](#块)
* [插入块](#插入块)
* [插入前置子块](#插入前置子块)
* [插入后置子块](#插入后置子块)