core icon indicating copy to clipboard operation
core copied to clipboard

feat(EMA) #27658 : Return the `onNumberOfPages` property to the `/api/v1/page/json` endpoint

Open jcastro-dotcms opened this issue 1 year ago • 2 comments

Proposed Changes

  • Brings the onNumberOfPages property of Contentlets to the /api/v1/page/json endpoint 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.json Postman test to make sure that the number of Contentlet references is in both the JSON response, and the rendered attribute as it was before this change.

jcastro-dotcms avatar Feb 21 '24 20:02 jcastro-dotcms

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

ghost avatar Feb 21 '24 21:02 ghost