title: Get rest data with some conditions in Yii2
body: <p>It gives me the list of all users when I run this url <strong>"api/web/v1/users"</strong> using get method in Yii2 in its default rest setup.</p>
  
  <p>I have a column <strong>is_active</strong> in the <strong>users</strong> table, so I only want the list of all <strong>active</strong> users "where is_active=1", my question is that how I can pass my custom conditions to get rest data?</p>