Aem Infinity json | Community
Skip to main content
robertol6836527
Level 4
May 13, 2024
Solved

Aem Infinity json

  • May 13, 2024
  • 1 reply
  • 938 views

HI,

on Aem 6.4 I call up a page at the following url: https://dominio/content/test/page.infinity.json
Originally it returned all the content of the page in json format:

 

 

....

 

but now it returns the data to me as follows:

[
"/content/.../object.7.json",
"/content/.../object.6.json",
"/content/.../object.5.json",
"/content/.../object.4.json",
"/content/.../object.3.json",
"/content/.../object.2.json",
"/content/.../object.1.json",
"/content/.../object.0.json"
]

 

Only new components have been added to the page.
How can I go back to the old result?

Thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

The default GET servlet has an OSGI configuration how many nodes are serialized via this mechanism; IIRC it's value is 100 nodes, and you can adapt it. 

 

This value is just a DOS prevention, so if you have prevented this functionality from being used on publish (the documentation strongly suggests not to expose it), increasing it to 500 should not be a problem.

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
May 13, 2024

The default GET servlet has an OSGI configuration how many nodes are serialized via this mechanism; IIRC it's value is 100 nodes, and you can adapt it. 

 

This value is just a DOS prevention, so if you have prevented this functionality from being used on publish (the documentation strongly suggests not to expose it), increasing it to 500 should not be a problem.