No Prerequisites required for attendees, All can attend from beginner to expert level. Having basic knowledge of Drupal is plus.
The JSON:API module is a fully compliant implementation of the JSON:API Specification. In its own words, the JSON:API specification is:
A specification for how a client should request that resources be fetched or modified, and how a server should respond to those requests.
Drupal 8.7 ships with JSON:API which makes a solid and stable path to support decoupled Drupal through standardization of payload structures and query string parameters.
JSON:API is designed to minimize both the number of requests and the amount of data transmitted between clients and servers. This efficiency is achieved without compromising readability, flexibility, or discoverability.
Drupal's datastructures, i.e. entity types, bundles, and fields, are incredibly well suited to the JSON:API.
The session will cover an introduction of the JSON:API specifications and how it compares with the Drupal 8 core REST module, when to go for JSON:API and what JSON:API can't do. We will also learn about why it made sense for JSON:API to be added to Drupal core.
You will also learn how to use the zero-configuration JSON:API module provides a standardized API for exposes resources, interacting with relationships between resources (entity references), fetching of only the selected fields, and filtering, sorting and paginating collections of resources.
The Session will cover:
- An overview of JSON:API module
- A zero(ish) configuration module
- Comparision with Drupal 8 core REST module
- GET requests for filters, sorting & pagination
- POST requests
- Things which JSON:API can’t do