Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources: 

Services and Views Filters

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:01
    Services and Views Filters
  • 0:02
    with Joe Shindelar
  • 0:07
    JOE SHINDELAR: In addition to being able to easily access
  • 0:10
    the data returned from a view, we can also use services
  • 0:13
    to make use of the more advanced views features,
  • 0:16
    like exposed filters and arguments.
  • 0:18
    In this lesson I want to take a look at the ways in which
  • 0:21
    we can add exposed filters to a view.
  • 0:23
    And then use query string parameters in our API requests
  • 0:26
    in order to provide views with the data for the filters.

Services and Views Filters


In addition to using views to expose lists of things via our API we can also take advantage of views exposed filters to allow API consumers more control over the data they are receiving in a request. In this lesson Joe looks at accessing views exposed filters via REST requests by adding an exposed filter to both of the perviously created views and then walking through how the configuration of the view changes the behavior of the filter when used via the services API.

Additional resources:
There are no resources for this video. If you believe there should be, please contact us.