Closed
Description
In what scenarios do you need this feature?
- I need an API to get all subdocs including the hidden docs in the filetree. The current API "/api/filetree/listDocsByPath" can only get limited docs. The widget ListDocTree can only list limited docs.
Describe the optimal solution
Maybe need to add an new api based on the listDocsByPath?
Describe the candidate solution
No response
Other information
No response
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
88250 commentedon Apr 14, 2023
Hello, what is the usage scenario for this requirement?
GuangDai commentedon Apr 14, 2023
In widget ListDocTree, I can only get limited results because of the global config. I have many docs(more than 100) in one dir. So I set the config to 30. If I raise the limit in global config, it will mess up my file tree. The widget can display sub docs in several columns, which is much easier to find doc than doing it in file tree.
88250 commentedon Apr 14, 2023
Understood, the next release will add a parameter
maxListCount
to this interface, which is used to specify the maximum list limit.GuangDai commentedon Apr 14, 2023
I hope there will be an api to get subdocs based on the para I requested. If 0, get all. If bigger than 0, get limited.
[-]Need new api to get all subdocs.[/-][+]API `listDocsByPath` add an optional parameter `maxListCount`[/+]🎨 API `listDocsByPath` add an optional parameter `maxListCount` Fix #…
88250 commentedon Apr 14, 2023
It's a good idea!
🎨 API `listDocsByPath` add an optional parameter `maxListCount` Fix #…
🎨 API `listDocsByPath` add an optional parameter `maxListCount` Fix #…
OpaqueGlass commentedon Feb 1, 2024
请问是否可以考虑在指定
maxListCount
时不再pushMsg提示;或增加参数忽略提示?listDocsByPath
add an optional parameterignoreMaxListHint
#1029088250 commentedon Feb 1, 2024
添加参数
ignoreMaxListHint
#10290