Building a Solid API for Drupal 7, Drupal 8, and Drupal 9

Last updated June 29, 2020

There's been a lot written about API design, it's probably not surprising there are several books written about the subject. It also seems like nearly every cloud-based service provides an API to allow access to your data. In this tutorial, I'll attempt to condense this information and answer the following questions:

  • Are there different types of API paradigms?
  • What kinds of considerations do we need to make when building an API for our decoupled site?
  • And, what's this REST thing everyone is talking about?