Advertisement

Using Views with Core REST

  • Preston So
Chapter

Abstract

Sometimes, the core REST API isn’t adequate for your needs, whether due to the fact that it is ill-equipped to issue collections of resources or because you cannot get out of Drupal the information that you require in your consumer. Many of the same motivations that lead decision makers to choose Drupal as a CMS—namely the Views module and its flexible query building—transfer to decoupled Drupal implementations as well. Fortunately, Views contains a REST export display type that can be employed to provide custom-designed, read-only APIs.

Copyright information

© Preston So 2018

Authors and Affiliations

  • Preston So
    • 1
  1. 1.RidgewoodUSA

Personalised recommendations