Module Description
Provides new "json_recursive" REST format which exposes all fields and referenced entities by default. You may want to use this module if you need to fetch almost everything in one request.
Default usage:
GET https://example.com/node/1?_format=json_recursive Limit max depth of loaded references:
GET https://example.com/node/1?_format=json_recursive&max_depth=3 Find examples how to customize and fine-tune the output in submodules:
* rest_media_recursive - exposes Media, with image styles.
* rest_paragraphs_recursive - exposes Paragraphs and items from Paragraphs Library.
Default usage:
GET https://example.com/node/1?_format=json_recursive Limit max depth of loaded references:
GET https://example.com/node/1?_format=json_recursive&max_depth=3 Find examples how to customize and fine-tune the output in submodules:
* rest_media_recursive - exposes Media, with image styles.
* rest_paragraphs_recursive - exposes Paragraphs and items from Paragraphs Library.
Module Link
Project Usage
96
Security Covered
Covered By Security Advisory
Version Available
Release Candidate
Module Summary
This module aims to solve the issue of fetching all fields and referenced entities in one request by providing a new "json_recursive" REST format.
Data Name
rest_entity_recursive