JSON:API Extras allows you to customize the API generated by Drupal's core JSON:API module. You can enable or disable resources, change resource names and paths, and modify or alias fields for a more tailored API experience.
The JSON:API module in code provides zero configuration out of the box. Use JSON:API Extras to customize your API. JSON:API Extras provides a means to override and provide limited configurations to the default zero-configuration implementation provided by the JSON:API in Core.
Use JSON:API Extras to customize an API generated by the Core JSON:API module.
Here are the current features of the JSON:API Extras module:
- Enable and disable resources.
- Overwrite the name of a resource. Example:
articleinstead ofnode--article. - Overwrite the path for a resource: Example:
/api/articlesinstead of/jsonapi/node/article. - Disable fields.
- Use field aliases. Example:
tagsinstead offield_tags. - Enhance field output. Example: Use the
date_timefield enhancer to format date fields.
Installation
- Install and enable the JSON:API Extras module.
- Visit /admin/config/services/jsonapi to overwrite and configure your API.
Integrations
The JSON:API Defaults sub-module allows you to specify default input parameters (include, page[limit] and filter) for your resource collections.
Contenta CMS
This module is part of the Contenta CMS decoupled distribution and integrates with Contenta JS. Learn more about these projects:
👉 Contenta CMS 👈🔥
Contenta JS 🔥
Ask your assistant about JSON:API Extras
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
- jsonapi Drupal core
Required by
8 tracked projects depend on this one
- JSON:API Boost 588 sites
- Acquia Drupal Starter Kit Headless 93 sites
- Acquia Drupal Starter Kit Component 70 sites
- JSON:API Focal Point 53 sites
- EzContent API - Enhanced De-coupled CMS Experience 2 sites
- JSON:API Enhancers
- Seeds Headless Using NextJS
- DAMopen
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-3.28 | Stable | 9–11 | Dec 19, 2025 | ||
| 8.x-3.27 | Stable | 9–11 | Oct 17, 2025 | ||
| 8.x-3.26 | Stable | 9–11 | Oct 1, 2024 | ||
| 8.x-3.26-beta1 | Pre-release | 9–11 | PHP >=8.1 | Jun 27, 2024 | |
| 8.x-3.25 | Stable | 9–10 | Jun 2, 2024 | ||
| 8.x-3.25-beta2 | Pre-release | 9–10 | May 24, 2024 | ||
| 8.x-3.25-beta1 | Pre-release | 9–10 | May 24, 2024 | ||
| 8.x-3.24 | Stable | 9–10 | Sep 11, 2023 | ||
| 8.x-3.24-beta1 | Pre-release | 9–10 | Sep 6, 2023 |