You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I want to investigate existing API endpoints for contentlet management, so I can implement a dialog component with listing, filtering, and pagination capabilities for displaying content information (title, step, description, last updated).
Dialog
Search configuration:
Acceptance Criteria
Research and document existing endpoints for contentlet listing
Verify if the following functionalities are supported:
Filter by contentType (When the dialog is called, we will make a request by a defined ContentType)
oidacra
changed the title
Check if exist a endpoint for list, filter, paginate contentlets
[Spike] Investigate Contentlet API Endpoints for List/Filter/Pagination Capabilities
Nov 13, 2024
jcastro-dotcms
changed the title
[Spike] Investigate Contentlet API Endpoints for List/Filter/Pagination Capabilities
[Spike] Investigate Contentlet API Endpoints for Listing/Filtering/Pagination Capabilities for the Relationship field
Nov 13, 2024
The current search dialog displayed when looking for Contentlets in a Relationship field uses the very same logic that the Content Search portlet uses. This means that there's a massive amount or generic code in it, and there's currently no direct replacement in the any of the Content REST Endpoints we have.
In terms of the Java classes:
The ContentletAjax is the one in charge of returning the results, with any additional filtering and pagination.
The StructureAjax returns what fields Users can use to filter contents.
Even though a lot of that information can be retrieved via the /api/content or /api/content/_search methods, specific metadata such as displaying the total amount of records might need some additional logic. This is not considering any additional logic that may be added to the backend in order to abstract unnecessary Lucene code from the front-end layer.
Here's an example of what a filtered content search looks like with the /api/content endpoint:
Parent Issue
User Story
As a developer, I want to investigate existing API endpoints for contentlet management, so I can implement a dialog component with listing, filtering, and pagination capabilities for displaying content information (title, step, description, last updated).
Dialog
Search configuration:

Acceptance Criteria
Proposed Objective
Technical User Experience
Proposed Priority
Priority 2 - Important
External Links
N/A
Assumptions & Initiation Needs
Quality Assurance Notes & Workarounds
The findings from this spike will be used to implement a dialog component showing:
The text was updated successfully, but these errors were encountered: