Skip to content

Optimize GetPageByPath response (avoid returning full tree) #607

@perber

Description

@perber

Currently GetPageByPath returns the whole tree, which is unnecessary. It should return only the required data:

  • If the path resolves to a page, return just the page content.
  • If the path resolves to a section, return only the first level of children (first row).

Acceptance Criteria:

  • GetPageByPath no longer returns the full tree
  • For page: response contains only page content
  • For section: response contains only first-level children
  • No breaking changes / response contract updated accordingly

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions