#32238 content type content palette#32410
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
Adds a new /page endpoint to fetch content-type palettes for a specific page, including filtering out hidden types.
- Introduces a lazy-loaded config for hidden content types
- Implements
getPagesContentTypesREST method and a helper to resolve container types by page - Updates imports and JavaDoc examples
Comments suppressed due to low confidence (2)
dotCMS/src/main/java/com/dotcms/rest/api/v1/contenttype/ContentTypeResource.java:1576
- The example URL has an extra
&and mergesorderbyanddirectionintovariabledirection. Please correct it to something like...?sites=...&per_page=40&orderby=variable&direction=DESC.
* GET http://localhost:8080/api/v1/contenttype?sites=48190c8c-42c4-46af-8d1a-0cd5db894797,SYSTEM_HOST,&per_page=40&&orderby=variabledirection=DESC
dotCMS/src/main/java/com/dotcms/rest/api/v1/contenttype/ContentTypeResource.java:1603
- No tests appear to be added for the new
/pageendpoint or its helper method. Consider adding unit and integration tests to cover both successful and failure paths.
@GET
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
dsilvam
approved these changes
Aug 12, 2025
… case there is a wrong login set
…to issue-32238-content-types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding a new way to fetch the content types content palette
This PR fixes: #32238