December 2016
Beginner to intermediate
1005 pages
21h 54m
English
The RESTful Web Services module provides Views plugins that allow you to expose data over Views for your RESTful API. This allows you to create a view that has a path and outputs data using a serializer plugin. You can use this to output entities, such as JSON, HAL JSON, or XML, and it can be sent with appropriate headers.
In this recipe, we will create a view that outputs the users of the Drupal site, providing their username, e-mail, and picture if provided.
Web Services modules: Serialization, RESTful Web Services, and HAL.API Users and have it show Users.Read now
Unlock full access