When not using entities as the api resources, in order to filter collections one or more custom filters can be applied to the classes annotated with the [#ApiResource]
attribute.
Posts for: #symfony
State management in Api Platform
Fetch data and mutate state for custom api resources when using the Api Platform framework.