Actions28
Space → Read
AI-generatedSummary
Operation: Read Space. Two modes: spaceGet (single space by path) and spaceList (list spaces in a project, with optional recursion, formatting, and limiting).
Inputs
- readModeSpace (required) — Select mode: 'Get Space (by Path)' or 'List Spaces'. Default: 'spaceGet'.
- spacePath — Example: project/space. Used when readModeSpace is spaceGet to specify the space path.
- parentPath — Example: project or project/parent-space. Required for spaceList mode.
- recursive — When true, includes sub-spaces. Only applicable when readModeSpace is spaceList. Default: false.
- outputFormatSpace — Format when readModeSpace is spaceList: 'Split Into Items' or 'Single Item (Array)'. Default: 'split'.
- returnAllSpace — When false, limits results. Only applicable when readModeSpace is spaceList. Default: true.
- limitSpace — Maximum items to return. Only applicable when readModeSpace is spaceList and returnAllSpace is false. Default: 100.
Output shape
When readModeSpace is spaceGet: a single space object. When readModeSpace is spaceList: an array of space objects, optionally formatted per outputFormatSpace and limited per returnAllSpace/limitSpace.
The node internally normalizes paths via normalizeKumihoPath, makes GET requests to /api/v1/spaces/by-path (spaceGet) or /api/v1/spaces (spaceList with parent_path and recursive qs params), and emits items according to the selected output format and returnAll/limit settings.