JSON:API – created APIs beyond entities
The JSON:API module provides an HTTP API for entities within Drupal. The HTTP API that adheres to the JSON:API specification. Now that JSON:API is stable in Drupal core, what is next for JSON:API?
We will begin with a history of the JSON:API module. Why does it only allow entity based endpoints? Why isn't there a way to create custom endpoints? We will answer these questions and the plans for moving forward.
This session will cover the work done on the JSON: API module to improve its foundations. These changes allow for new, custom endpoints. We will explore what impact that brings for the decoupled Drupal ecosystem. Finally, we will go over some examples of how you can build JSON:API endpoints to customize Drupal's HTTP API to your own needs.
Learning Objectives
- Summarize the history of the JSON:API module, and why we're just now seeing a PHP level API develop.
- Identify the ways JSON:API is using resource objects as a way to represent data within Drupal.
- Develop custom JSON:API resources for custom API endpoints
Target Audience
This session is for those who are looking to build custom API solutions on top of Drupal and leverage the JSON:API specification.
Prerequisites
Attendees will get the most out of this session by being familiar with using Drupal in a decoupled/headless architecture.
Track
Experience Level
If no timezone is set on your profile, time is displayed in UTC.
Update your profile's timezone