Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module adds the ability for RestWS to include rendered HTML of nodes. By added a query parameter of render
to a RestWS call, you can receive the rendered output of node_view()
Examples
GET /node/1.json?render
{
rendered: {
full:'<div class='field-body>...</div><div class="field-image">...</div>'
}
}
GET /node/1.json?render=full,teaser
{
rendered: {
full:'<div class='field-body>...</div><div class="field-image">...</div>',
teaser:'<h2 id="page-title">My Page</h2><div class="field-body">...</div><div class="field-image">...</div>'
}
}
Supporting organizations:
Project information
- Created by heyMP on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.