Feature/api queries stars

They are catched in `lib/api/root.rb` file.