Using JSONAPI as a Multi-purpose Tool to Power Back-end Data sync and Migrations
pwolanin
kdebisschop
With jsonapi module coming into Drupal core now is a great time to learn more about the power of this multi-purpose tool.
Most presentations focus on using jsonapi in the context of headless Drupal or with a similar front-end focus.
We will talk instead about how it can be very powerful building back-end integrations between related Drupal sites or with non-Drupal consumers.
We will discuss and show examples of cusom migration code where jsonapi is used for the data source in place of a database query, as well as code to automatically syncronize referenced entities from a remote site into the local site when they are the target of an entity reference.