REST and serialization in Drupal 8
Click here to watch REST and serialization in Drupal 8.
Drupal 8 makes it just as easy to output your content in formats like JSON and XML as it is to output HTML... even with Views! And with the new REST module in Drupal core, itâ€™s easy for external apps to use that data and to create and maintain content on your site. You may know Drupal 7 contrib modules like Services and RESTWS, now we have a much more flexible and powerful system in core.
In this session, youâ€™ll get an overview of the new REST and serialization systems, with demonstration of their configuration and use. Youâ€™ll see how you can extend these tools, adding your own custom formats and REST plugins.
Throughout the talk, weâ€™ll cover key REST principles and also give tips on how to test your setup.
We will also explain how web service interfaces for entities are exposed using Drupal 8's improved Entity API. Access control, working with fields, creating, reading, updating and deleting resources will be covered in our talk.