REST API framework and channels API implementation