Last updated February 16, 2016. Created on September 26, 2013.
Edited by Wim Leers, brunodbo, linclark. Log in to edit this page.

The REST export display plugin uses the Serializer to output lists of entities in different formats (JSON, XML, ...).

NOTE: The REST export plugin does not use the REST resource plugin. The permissions defined by REST do not apply to Views.

  1. Ensure that the REST and Serialization modules are enabled.
  2. Create a view and add a REST export display. Make sure to add a path to the display. You'll be using this path to access the JSON/XML data.

    REST export display configuration screen

  3. Enable data formats (JSON, XML, ...) in the Serializer format settings.

    Setting the enabled formats

rest-export.png143.42 KB
rest-export-options.png104.9 KB

Looking for support? Visit the forums, or join #drupal-support in IRC.