jsonapi_extras
23,760 sites
Security covered
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 🔥