core
core copied to clipboard
feat(EMA) #27658 : Return the `onNumberOfPages` property to the `/api/v1/page/json` endpoint
Proposed Changes
- Brings the
onNumberOfPagesproperty of Contentlets to the/api/v1/page/jsonendpoint response. This way, users can now get the actual number of references a given Contentlet has in any Container in dotCMS directly from its data map. - Updates the
PagesResourceTests.jsonPostman test to make sure that the number of Contentlet references is in both the JSON response, and therenderedattribute as it was before this change.
Quality Gate passed
Issues
0 New issues
19 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code