Skip to content

[DataObject] add onlyGlobal query param to saved grid configurations API#3833

Open
xIrusux wants to merge 5 commits into
2025.4from
feature-only-global-grid-configurations
Open

[DataObject] add onlyGlobal query param to saved grid configurations API#3833
xIrusux wants to merge 5 commits into
2025.4from
feature-only-global-grid-configurations

Conversation

@xIrusux

@xIrusux xIrusux commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What

Adds the optional onlyGlobal query parameter to GET /data-object/grid/configurations/{classId}:

  • Documents the parameter in the OpenAPI spec (assets/build/api/docs.jsonopenapi.json).
  • Regenerates the data-object RTK Query slice (data-object-api-slice.gen.ts) so callers can pass onlyGlobal.

Why

Lets clients request only globally-shared grid configurations (shareGlobal = true), rather than the current user-scoped list. This is needed where a saved grid configuration is referenced from a shared context and must resolve for every user (e.g. the Data Quality score widget's "saved template" picker).

Notes

  • The parameter is optional and defaults to false, so existing callers (e.g. the grid-config sidebar) are unaffected.
  • This is the frontend/spec side. The backend implementation (controller param, parameters DTO, and ConfigurationService filtering) lands separately in studio-backend-bundle.

Add the optional onlyGlobal query parameter to GET /data-object/grid/configurations/{classId} in the OpenAPI spec and regenerate the data-object RTK Query slice, so clients can request only globally-shared grid configurations.
@xIrusux xIrusux self-assigned this Jun 29, 2026
@xIrusux xIrusux added this to the 2025.4.7 milestone Jun 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant