Update API docs

Can we get some doc somewhere (api docs for templateConfig endpoint?) that better describes how env variable parameters work, and the valid expressions/values that can be used?