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

Gold

Weekend Keynote Speakers

Kevin Bridges

DDEV, CTO

CxO Keynote Speakers

Michel van Velde

One Shoe, CEO

Nick Rhind

CTI Digital, CEO

Greg Harvey

Code Enigma, Director

Rachel Lawson

,

Carrie Lacina

,

Drupal apprentices

The best people to train new developers are developers

The Drupal Apprenticeship Scheme will be running a London intake in March. If you are interested in hiring an apprentice or know someone who would benefit from the scheme please get in touch via the link below.

  • Created and run by experienced developers
  • Teaches core skills and best practice
  • Extensive support for businesses and teams

We are also really keen to hear from people who might be interested in mentoring, training and helping us to develop and review training materials to make sure they stay absolutely current and relevant.

Find out more

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