mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 22:40:43 +08:00
📝 Add side effects description of upload assets in a subfolder in API doc
This commit is contained in:
parent
2d2f80cff1
commit
72405ed87a
2
API.md
2
API.md
@ -469,7 +469,7 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||||||
* `"/assets/sub/"`: workspace/data/assets/sub/ folder
|
* `"/assets/sub/"`: workspace/data/assets/sub/ folder
|
||||||
|
|
||||||
Under normal circumstances, it is recommended to use the first method, which is stored in the assets folder
|
Under normal circumstances, it is recommended to use the first method, which is stored in the assets folder
|
||||||
of the workspace.
|
of the workspace, putting in a subdirectory has some side effects, please refer to the assets chapter of the user guide.
|
||||||
* `file[]`: Uploaded file list
|
* `file[]`: Uploaded file list
|
||||||
* Return value
|
* Return value
|
||||||
|
|
||||||
|
@ -466,7 +466,7 @@
|
|||||||
* `"/assets/"`:工作空间/data/assets/ 文件夹
|
* `"/assets/"`:工作空间/data/assets/ 文件夹
|
||||||
* `"/assets/sub/"`:工作空间/data/assets/sub/ 文件夹
|
* `"/assets/sub/"`:工作空间/data/assets/sub/ 文件夹
|
||||||
|
|
||||||
常规情况下建议用第一种,统一存放到工作空间资源文件夹下。
|
常规情况下建议用第一种,统一存放到工作空间资源文件夹下,放在子目录有一些副作用,请参考用户指南资源文件章节。
|
||||||
* `file[]`:上传的文件列表
|
* `file[]`:上传的文件列表
|
||||||
* 返回值
|
* 返回值
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user