How to filter values for select in Yii REST from ActiveController?

If i set that URL: back…ru-rest-some_id, i’ll get user with some_id.
But, how can i get user with name = (some name) in URL

back.ru/rest/?name=Maxim

(or something like that)?

P.S.
First url seems strange, because form validation doesn’t allow that url(i dont know why)

What is your current ActiveRecord code?

Hi kotcich, remember that Yii2 rest works with fields: Rest Resources - Fields
Also review how the action parameters works: Action Parameters

Also, the URL is always defined by your routing configuration: Rest Routing