gentics / mesh-incubator

Project which is home for planned enhancements for Gentics Mesh
3 stars 0 forks source link

Load children of all languages #42

Open philippguertler opened 5 years ago

philippguertler commented 5 years ago

Gentics Mesh Version, operating system, or hardware.

Problem

It is currently not possible to load all children of all languages of a single node.

The /{project}/nodes/{uuid}/children endpoint only shows children where content in the default language exists. You can provide the lang query parameter to get nodes of other languages. However, to get a complete list of children, you would have to provide a list of all languages in the system.

Solution

The default behavior should be changed. When providing no language parameter, all children should be returned, not only children with contents in the default language.