COOPR-653: Partial templates REST API endpoints

@jwang47 Please take a look
This change is already in develop branch. Shouldn't be in this PR.