I would probably add in the content view functionality here. Make repository_id and content_view_id not required but send back an error to the user if neither is specified.