Simple Decoupled Preview

Module Installation

  1. Download (using Composer) and enable the Simple Decoupled Drupal module:
    composer require drupal/simple_decoupled_preview
    drush en -y simple_decoupled_preview

Simple Decoupled Preview Configuration

  1. Configure module settings at /admin/config/services/simple_decoupled_preview/settings

    API Authentication

    API Authentication modules restrict and secure unauthorized access to your Drupal site APIs using various authentication methods

    The Drupal REST & JSON API Authentication module restrict and secure unauthorized access to your Drupal site APIs using different authentication methods including:

    This module also allows you to authenticate API calls in a Headless/Decoupled Drupal setup.

    Customizing Resources

    Some sites may not wish to expose certain JSON:API resource types or fields or may wish to rename fields to provide a cleaner interface.

    To allow these alterations, JSON:API dispatches a ResourceTypeBuildEvent event object using the event name ResourceTypeBuildEvents::BUILD. Please refer to subscribe to and dispatch events on how to use these events.

    Subscribers can call the following methods:

    Decoupled quiz

    Decoupled Quiz Module Documentation

    The Decoupled Quiz Module is designed to improve experience with quizzes, surveys, polls for modern web-sites and applications according to Decoupled approach.

    JSON:API module

    If you’ve argued about the way your JSON responses in a decoupled project should be formatted, JSON:API is your anti-bikeshedding tool.

    The Drupal core JSON:API module implements the JSON:API spec for Drupal entities. It provides a zero-configuration required, opinionated, way to allow RESTful CRUD for a Drupal site's content.

    It is closely coupled to Drupal's Entity and Field APIs, response caching, and authentication and authorization systems. Because it follows the shared JSON:API conventions it can help increase productivity and allow you to take advantage of non-Drupal specific tooling.

    Subscribe with RSS Subscribe to RSS - jsonapi