Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
398d131b
authored
May 13, 2025
by
Archer
Committed by
GitHub
May 13, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix api_dataset.md (#4791) (#4801)
Co-authored-by: dreamer6680 <1468683855@qq.com>
parent
d5f188a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docSite/content/zh-cn/docs/guide/knowledge_base/api_dataset.md
+3
-3
No files found.
docSite/content/zh-cn/docs/guide/knowledge_base/api_dataset.md
View file @
398d131b
...
@@ -43,7 +43,7 @@ type ResponseType = {
...
@@ -43,7 +43,7 @@ type ResponseType = {
// 文件列表中,单项的文件类型
// 文件列表中,单项的文件类型
type
FileListItem
=
{
type
FileListItem
=
{
id
:
string
;
id
:
string
;
parentId
:
string
|
null
;
parentId
:
string
//也可能为 null 或者 undefined 类型
;
name
:
string
;
name
:
string
;
type
:
'file'
|
'folder'
;
type
:
'file'
|
'folder'
;
updateTime
:
Date
;
updateTime
:
Date
;
...
@@ -59,7 +59,7 @@ type FileListItem = {
...
@@ -59,7 +59,7 @@ type FileListItem = {
{{
<
markdownify
>
}}
{{
<
markdownify
>
}}
{{% alert icon=" " context="success" %}}
{{% alert icon=" " context="success" %}}
-
parentId - 父级 id,可选,或者 null。
-
parentId - 父级 id,可选,或者 null
| undefined
。
-
searchKey - 检索词,可选
-
searchKey - 检索词,可选
{{% /alert %}}
{{% /alert %}}
...
@@ -68,7 +68,7 @@ curl --location --request POST '{{baseURL}}/v1/file/list' \
...
@@ -68,7 +68,7 @@ curl --location --request POST '{{baseURL}}/v1/file/list' \
--header
'Authorization: Bearer {{authorization}}'
\
--header
'Authorization: Bearer {{authorization}}'
\
--header
'Content-Type: application/json'
\
--header
'Content-Type: application/json'
\
--data-raw
'{
--data-raw
'{
"parentId":
null
,
"parentId":
""
,
"searchKey": ""
"searchKey": ""
}'
}'
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment