Introduction
Panels REST Expose provides panels as REST in a specified manner attached as a screenshot.
The format which in which the JSON has been exposed, is providing the layout by taking the metadata of a Panels' node using a database query.
It checks for the entry of a panels metadata under db table "panelizer_node" and on the basis of URL parameter (node ID of Panels) to the REST call, exposes the JSON.
This can also be an advantage for decoupled architectures where the need is to expose complete layout with all components information.
Please report issues with this module at https://www.drupal.org/project/issues/panels_rest_expose.
Example Endpoint
After installation of this module, please go to /admin/config. Under Services section you would find REST. Enable the endpoint by providing required settings.
Once done, it can be accessed as
http://[YOUR_DOMAIN_NAME]/panels/layout/?_format=json
Requirements
This module requires the following modules:
- serialization
- restful
- panels
Recommended Modules
Another module "Restful Panels", works on the same basis, however, it's just for D7. Here is the link:
https://www.drupal.org/project/restful_panels
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Created by divesh.kumar on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

