-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API Support to Resolve Branding Preferences only using Published Preferences #637
Add API Support to Resolve Branding Preferences only using Published Preferences #637
Conversation
@@ -181,6 +181,7 @@ paths: | |||
- $ref: '#/components/parameters/typeQueryParam' | |||
- $ref: '#/components/parameters/nameQueryParam' | |||
- $ref: '#/components/parameters/localeQueryParam' | |||
- $ref: '#/components/parameters/restrictToPublishedQueryParam' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need to support this query param in branding-preference/text/resolve API as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix for text customizations is tracked by wso2/product-is#20858
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the yaml in docs as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR builder started |
PR builder completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/10345827643
Purpose
This PR introduces a new query parameter to the branding preference resolve GET endpoint, enabling the resolution of branding preferences using only published preferences.
By adding the restrictToPublished query parameter, users can specify whether to retrieve branding preferences only from published sources or from both published and unpublished preferences.
Example Usage:
EX:
Parameter Behavior of restrictToPublished
true
: Returns resolved branding preferences considering only published preferences.false
: Returns resolved branding preferences considering both published and unpublished preferences.Not set
: Defaults to false, considering both published and unpublished preferences.When should this PR be merged
Related Issues