GET on Views-generated lists

Last updated on
12 February 2018

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