### What problem does this PR solve? migrate chunk APIs to RESTful routes ### Type of change - [x] Refactoring