Skip to content

[AppConfig] Fragment search REST v2 API (admin + scoped) #12929

Description

@jopemachine

Objective

Expose the app_config_fragment search surface as REST v2, split out of the fragment write PR (BA-6921, #12928) to keep each PR review-sized. Two variants: system-wide admin search (superadmin) and principal-scoped search (auth).

Background

BEP-1052. Stacks on BA-6921 (fragment write CRUD) and reuses its AppConfigFragmentNode DTO. The scoped search is the REST surface of the visible-fragments query (BA-6810, #12706).

Scope

  • Filter / order / scope DTOs (AppConfigFragmentFilter, AppConfigFragmentOrder, SearchAppConfigFragmentInput, AppConfigFragmentScope, ScopedSearchAppConfigFragmentInput) + types (order field, scope-type filter)
  • adapter admin_search / scoped_search + filter/order converters
  • REST routes: POST /search (superadmin), POST /scoped-search (auth)

Acceptance Criteria

  • /search superadmin-only (system-wide); /scoped-search auth-required (principal-visible)
  • Both reflected in the OpenAPI dump; pants check / lint pass
  • Verified against the live server (admin + non-admin)

Related

JIRA Issue: BA-6922

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Story.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions