13-15 March 2020

City, University London

Using JSON:API

Prerequisites
  • Basic understanding of what is JSON
  • Basic understanding of how common APIs work on the web.
Session details

JSON:API is in core and made stable as of Drupal 8.7. This makes it natural to first consider JSON:API for all your decoupled needs. Let’s learn how and determine if JSON:API fits your needs (hint: it probably does).

In this session, you’ll learn the JSON:API specification itself and how it compares to other solutions out there available to Drupal (namely the traditional REST resources and GraphQL). We will also briefly see why it made sense for jsonapi module to be in core. We will see how the jsonapi module fulfils the JSON:API specification in serving Drupal content in a highly customisable manner.

The Drupal jsonapi module is a zero-configuration solution to get you started; however, like all zero-configuration solutions, you may need to configure the behaviour and we will also learn how to do that. Further, we will look at options to further customise the output not supported by the jsonapi module.

By the end of this session, you’ll learn:

  • What is the JSON:API specification and why it exists.

  • JSON:API concepts like collections, filtering, includes, and relationships.

  • The Drupal implementation of the JSON:API specification.

  • Serializers and normalizers.

  • Configuring output served by the jsonapi module.

  • Writing your own JSON:API endpoints to completely control the output.

  • JSON:API client implementations.

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