[WIP] Feature/api queries stars

Yes, the pull request has been made before the discussion. I already removed this line and updated the permissions according to what we've discussed. I update the pull request later today.