JSON API Extras
Categories
Component ID
2873823
Component name
JSON API Extras
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
3665
Component created
Component changed
Component body
The JSON API module 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 module.
Use JSON API Extras to customize an API generated by the 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:
article
instead ofnode--article
. - Overwrite the path for a resource: Example:
/api/articles
instead of/jsonapi/node/article
. - Disable fields.
- Use field aliases. Example:
tags
instead offield_tags
. - Enhance field output. Example: Use the
date_time
field enhancer to format date fields.
Installation
- Install the development version
8.x-1.x-dev
of the JSON API module. - Install the JSON API Extras module.
- Visit /admin/config/services/jsonapi to overwrite and configure your API.
Integrations
The JSON API Defaults module allows you to specify default parameters for your resource collections.