app.core.spaces
Spaces API router - full CRUD for Kumiho spaces.
Functions
|
Create a new space. |
|
Delete a space. |
|
Get a specific space by its path. |
|
List child spaces under a parent path. |
|
Update a space's metadata. |
- async app.core.spaces.list_spaces(parent_path=Query(PydanticUndefined), recursive=Query(False), client=Depends(dependency=<function get_kumiho_client>, use_cache=True, scope=None))[source]
List child spaces under a parent path.
- Parameters:
parent_path (str)
recursive (bool)
client (Any)
- async app.core.spaces.create_space(request, client=Depends(dependency=<function get_kumiho_client>, use_cache=True, scope=None))[source]
Create a new space.
- Parameters:
request (SpaceCreate)
client (Any)
- async app.core.spaces.get_space(path=Query(PydanticUndefined), client=Depends(dependency=<function get_kumiho_client>, use_cache=True, scope=None))[source]
Get a specific space by its path.
- Parameters:
path (str)
client (Any)