📝 Add side effects description of upload assets in a subfolder in API doc

This commit is contained in:
Daniel 2023-06-04 19:51:00 +08:00
parent 2d2f80cff1
commit 72405ed87a
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017
2 changed files with 2 additions and 2 deletions

2
API.md
View File

@ -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

View File

@ -466,7 +466,7 @@
* `"/assets/"`:工作空间/data/assets/ 文件夹 * `"/assets/"`:工作空间/data/assets/ 文件夹
* `"/assets/sub/"`:工作空间/data/assets/sub/ 文件夹 * `"/assets/sub/"`:工作空间/data/assets/sub/ 文件夹
常规情况下建议用第一种,统一存放到工作空间资源文件夹下。 常规情况下建议用第一种,统一存放到工作空间资源文件夹下,放在子目录有一些副作用,请参考用户指南资源文件章节
* `file[]`:上传的文件列表 * `file[]`:上传的文件列表
* 返回值 * 返回值