I would like some clarification on what fetchLinks can and cannot do.
I have a document type landing which has
- a title
- an image
- link to another landing (parent_landing)
- many slice, one of those has a repeatable zone with links to other landing.
The doc states
fetchLinks can *not* retrieve the following fields: * Embed * GeoPoint * Link * Link to Media * Rich Text (anything other than the first element) * Any field in a Group or Slice
Can you please confirm those limitations apply for Group or Slice in the linked document ?
For example if i use
fetchLinks=landing.title it seems that the titles from the landings referenced in my slice are in fact returned. It works with the image too.
Also it seems fetchLink works with Link.
I saw here that only a 2 lvl depth is allowed which only make sense if it can follow Links. I tried with fetchLinks=landing.parent_landing and it works (I can get the parent from the parent from the parent)
Error in documentation
Taking this opportunity to point some errors in the doc
- param is
- to use multiple you have to pass
I cannot use graphQL nor GraphQuery because my landing model has 20 different slices and the GET request is longer than 2048chars.