Refactoring REST calls for datasets

typo