Description
The wiki spaces list API only returns space_type: team spaces. Personal spaces (person) and "My Library" spaces (my_library) are not included in the response, even though the API schema defines these types.
Steps to Reproduce
- Have a personal wiki space (个人知识库) created in Feishu UI
- Run:
lark-cli --as user wiki spaces list --params '{"page_size": 50}'
- Only team spaces are returned; personal space is missing
Expected Behavior
All spaces the user has access to should be returned, including:
space_type: team (团队空间)
space_type: person (个人空间)
space_type: my_library (我的文档库)
Workaround
Use drive +search to find content in personal spaces (the search API indexes all space types), then use the returned `origin_space_id* to query nodes directly:
# 1. Search finds content in personal space
lark-cli --as user drive +search --query "个人备忘录"
# Returns origin_space_id: 7485982127570403332
# 2. Nodes list works with that space_id
lark-cli --as user wiki nodes list --params '{"space_id": "7485982127570403332"}'
Environment
- lark-cli version: 1.0.31
- OS: WSL2 (Ubuntu)
Description
The
wiki spaces listAPI only returnsspace_type: teamspaces. Personal spaces (person) and "My Library" spaces (my_library) are not included in the response, even though the API schema defines these types.Steps to Reproduce
lark-cli --as user wiki spaces list --params '{"page_size": 50}'Expected Behavior
All spaces the user has access to should be returned, including:
space_type: team(团队空间)space_type: person(个人空间)space_type: my_library(我的文档库)Workaround
Use
drive +searchto find content in personal spaces (the search API indexes all space types), then use the returned `origin_space_id* to query nodes directly:Environment