Skip to content

bug: does not return personal/my_library spaces #1773

Description

@dewu0224

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

  1. Have a personal wiki space (个人知识库) created in Feishu UI
  2. Run: lark-cli --as user wiki spaces list --params '{"page_size": 50}'
  3. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdomain/wikiWiki domain

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions