This commit is contained in:
Liang Ding 2022-02-24 23:30:46 +08:00
parent 7bebb700e2
commit 6110289bd5
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
2 changed files with 38 additions and 38 deletions

74
API.md
View File

@ -1,42 +1,42 @@
* [Specification](#Specification) * [Specification](#Specification)
* [Parameters and return values](#Parameters-and-return-values) * [Parameters and return values](#Parameters-and-return-values)
* [鉴权](#鉴权) * [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)
* [通过 Markdown 创建文档](#通过-markdown-创建文档) * [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)
* [SQL 查询](#SQL-查询) * [Execute SQL query](#Execute-SQL-query)
* [模板](#模板) * [Templates](#Templates)
* [渲染模板](#渲染模板) * [Render a template](#Render-a-template)
* [导出](#导出) * [Export](#Export)
* [导出 Markdown 文本](#导出-markdown-文本) * [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) * [Webhook](#Webhook)
--- ---
@ -662,7 +662,7 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
## Attributes ## Attributes
### Set block properties ### Set block attributes
* `/api/attr/setBlockAttrs` * `/api/attr/setBlockAttrs`
* Parameters * Parameters

View File

@ -18,7 +18,7 @@
* [根据路径获取人类可读路径](#根据路径获取人类可读路径) * [根据路径获取人类可读路径](#根据路径获取人类可读路径)
* [资源文件](#资源文件) * [资源文件](#资源文件)
* [上传资源文件](#上传资源文件) * [上传资源文件](#上传资源文件)
* [操作](#块操作) * [](#块)
* [插入块](#插入块) * [插入块](#插入块)
* [插入前置子块](#插入前置子块) * [插入前置子块](#插入前置子块)
* [插入后置子块](#插入后置子块) * [插入后置子块](#插入后置子块)