Skip to main content
removed "Drupal" and tags from the title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 9 JSON:API fetch reference data

I have a content type  (MealDiary), where itwhich contains a reference ofto a paragraph multiple times  (Meal: date, title). I do get a paragraph uid that I can use to retrieve this data, but I would instead like to fetch the field data of the meal withing the MealDiary request. My goals is 1 request instead of 6.

Anybody could help on this?

Drupal 9 JSON:API fetch reference data

I have a content type(MealDiary), where it contains a reference of a paragraph multiple times(Meal: date, title). I do get a paragraph uid that I can use to retrieve this data but I would instead like to fetch the field data of the meal withing the MealDiary request. My goals is 1 request instead of 6.

Anybody could help on this?

JSON:API fetch reference data

I have a content type  (MealDiary), which contains a reference to a paragraph multiple times  (Meal: date, title). I do get a paragraph uid I can use to retrieve this data, but I would instead like to fetch the field data of the meal withing the MealDiary request. My goals is 1 request instead of 6.

Anybody could help on this?

Source Link
Potney Switters
  • 1.8k
  • 3
  • 28
  • 42

Drupal 9 JSON:API fetch reference data

I have a content type(MealDiary), where it contains a reference of a paragraph multiple times(Meal: date, title). I do get a paragraph uid that I can use to retrieve this data but I would instead like to fetch the field data of the meal withing the MealDiary request. My goals is 1 request instead of 6.

Anybody could help on this?