Module Description
INTRODUCTION ------------

JSON API Include allow merge include and relationship data of JSON API. Use case: - Show all data related output content type. - Use directly data of relationships to import content with Migrate.

REQUIREMENTS ------------

This module requires JSON:API core in Drupal.

RECOMMENDED MODULES -------------------

JSON:API Extras: https://www.drupal.org/project/jsonapi_extras

Use JSON:API Extras to customize your API.

INSTALLATION ------------

Install the module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

CONFIGURATION --------------

Basic case:

Install module and module auto parse include and relationship of jsonapi.

Advanced use:

1. Navigate to Administration>Configuration>Web services>JSON:API Include 2. Enable "Use jsonapi_include query in url" 3. Toggle json api include with query jsonapi_include=1 http://site.com/jsonapi/node/article?include=field_tags&jsonapi_include=1

Override the jsonapi_include.parse Module using the service `jsonapi_include.parse` to parse jsonapi data, if you need custom parse function you can override the class of `jsonapi_include.parse` to your custom class and implement your parse function. Reference: https://www.drupal.org/docs/drupal-apis/services-and-dependency-injectio...

SUPPORT DEVELOPMENT Buy the author a coffee to keep him motivated. Donation vith Paypal by email: huynhkhacthao@gmail.com

Project Usage
1515
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the merging of include and relationship data in JSON API for Drupal, allowing for the display of all related output content types and the direct use of relationship data for content import with Migrate.
Data Name
jsonapi_include

OPENAI CHATBOT

OPENAI CHATBOT

14:29:45
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.