added apiVersion to path construction