COOPR-653: Partial templates REST API endpoints

@jwang47 Please take a look
I have no idea, probably because of merge with develop.