This module automatically includes all relationships in JSON:API responses without needing to specify them in the request. Simply add `jsonapi_auto_include=1` to any JSON:API resource request to enable this functionality.
Sometimes when using JSON:API we need to automatically include all relationships in the response without listing them in the include query parameter. This module provides such option.
Features
Add jsonapi_auto_include=1 parameter to any JSON:API resource request, and all the relationships will be included in the response.
Post-Installation
This works immediately after enabling it and does not require any configuration.
Additional Requirements
This module naturally depends on Drupal core's JSON:API module.
Recommended modules/libraries
This module is compatible with JSON:API Extras module.
Ask your assistant about JSON:API auto-include
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 10–11 | Sep 18, 2024 | ||
| 1.0.x-dev | Dev | 10–11 | Sep 18, 2024 |