REST Block Layout
Categories
Component ID
2798181
Component name
REST Block Layout
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
828
Component created
Component changed
Component body
The essence of decoupled Drupal.
REST Block Layout provides a single endpoint to retrieve the block layout for a specified path. It allows Drupal to manage paths (and aliases) by allowing a decoupled site to query Drupal and retrieve not only what a path represents, but the layout of the page at a specific path.
This module allows a developer to build a decoupled site while maintaining
Drupal's Block Layout configuration and URL Aliases.
The endpoint works in any format available and accepts a single "path" argument
which is a URL encoded path that starts with a forward slash.
https://example.com/block-layout?_format=json&path=%2Fnode%2F123
