13-15 March 2020

City, University London

JSON:API - A zero Config OOTB Approach for API-First Drupal

Prerequisites

No Prerequisites required for attendees, All can attend from beginner to expert level. Having basic knowledge of Drupal is plus.

Session details

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.

 

Learning Objectives

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
  • Gotchas
Skill Level
Session Track

Sponsors

Diamond

ddev

Gold

Acquia - Experience digital freedom
Agiledrop - Trusted Drupal teammates
Droptica
Dropsolid

Weekend Keynote Speakers

Kevin Bridges

DDEV, CTO

Michel van Velde

One Shoe, CEO

Nick Veenhof

Dropsolid, CTO

CxO Keynote Speakers

Kevin Bridges

DDEV, CTO

Michel van Velde

One Shoe, CEO

Greg Harvey

Code Enigma, Director

Rachel Lawson

Drupal Association, Community Liaison

Carrie Lacina

Drupal Association, Fund Development Director

Jeffrey A. “jam” McGuire

Open Strategy Partners, Partner

Tracy Evans

Open Strategy Partners, Partner

Join the Drupal Association

The Drupal Association unites a global open source community to build and promote Drupal.

The Association is a not-for-profit organization that relies on individuals and businesses to fund everything they do for Drupal — from drupal.org to DrupalCon and community programs.

Connect with us and support our mission-driven work.

Support the Drupal Association

Hosting provided by

platform.sh