Deploy rest api for collection service