# Filter form list values

**URL:** <https://discuss.jsonapi.org/t/filter-form-list-values/2090>\
**Category:** Uncategorized\
**Created:** [November 23, 2020, 9:31pm UTC](https://discuss.jsonapi.org/t/filter-form-list-values/2090 "2020-11-23T21:31:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kagonzalez84](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kagonzalez84](https://discuss.jsonapi.org/u/kagonzalez84)\
**Post date:** [November 23, 2020, 9:31pm UTC](https://discuss.jsonapi.org/t/filter-form-list-values/2090/1 "2020-11-23T21:31:04Z")

</div>

I have an API with filtering support using RSQL, having an endpoint GET /movies?filter=genre==Music;rating==TV-14;language==es

In order for the web app to populate the dropdowns in the filtering form it needs to make independent request to /genres, /ratings and /languages.

I am wondering what could be a solution to defined a REST Resource for returning these 3 lists in a single request. Does this goes against REST?

Thank you in advance for any recomendation

---

<div class="post-metadata">

**Author:** ![JMQuentic](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.jsonapi.org/jmquentic/32/720_2.png) [@JMQuentic](https://discuss.jsonapi.org/u/JMQuentic)\
**Post date:** [December 29, 2020, 11:45am UTC](https://discuss.jsonapi.org/t/filter-form-list-values/2090/2 "2020-12-29T11:45:54Z")

</div>

I’m not completely sure if you are in the right forum here because your api does not look like JSON:API.

However you can perform a single request via JSON:API to get all informations you need regardless of the number of independent resources. You just need to include them.

> GET /movies?include=genres,ratings,languages
