This is a merge from https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/content_views_controller.rb?source=cc#L50 . If its a bug it needs to be fixed there ...