Skip to main content

JSON API in Drupal

  • Chapter
  • First Online:
Book cover Decoupled Drupal in Practice
  • 927 Accesses

Abstract

As we witnessed in Chapter 8, JSON API is a powerful alternative to core REST because it is a widely understood specification, it benefits from robust means of specifying relationships and query operations, and it is one of the most stable of the contributed web services solutions available to Drupal. Although JSON API is slated for inclusion in core as a stable module in Drupal 8.7.0, it might be less of interest to architects focused first and foremost on stability.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    “Fetching Resources (GET).” Drupal.org. 3 April 2018. Accessed 10 May 2018. https://www.drupal.org/docs/8/modules/json-api/fetching-resources-get

  2. 2.

    “Pagination.” Drupal.org. 29 May 2018. Accessed 26 August 2018. https://www.drupal.org/docs/8/modules/json-api/pagination

  3. 3.

    “Collections and Sorting.” Drupal.org. 22 March 2018. Accessed 26 August 2018. https://www.drupal.org/docs/8/modules/json-api/collections-and-sorting

  4. 4.

    “Filtering.” Drupal.org. 4 May 2018. Accessed 26 August 2018. https://www.drupal.org/docs/8/modules/json-api/filtering

  5. 5.

    “Creating New Resources (POST).” Drupal.org. 22 March 2018. Accessed 10 May 2018. https://www.drupal.org/docs/8/modules/json-api/creating-new-resources-post

  6. 6.

    “Updating Existing Resources (PATCH).” Drupal.org. 29 May 2017. Accessed 10 May 2018. https://www.drupal.org/docs/8/modules/json-api/updating-existing-resources-patch

  7. 7.

    “Removing Existing Resources (DELETE).” Drupal.org. 13 May 2017. Accessed 10 May 2018. https://www.drupal.org/docs/8/modules/json-api/removing-existing-resources-delete

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Preston So

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

So, P. (2018). JSON API in Drupal. In: Decoupled Drupal in Practice. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4072-4_12

Download citation

Publish with us

Policies and ethics