[ZH][74718246] Transition repos and hooks to versioned API

Pivotal Story: https://www.pivotaltracker.com/story/show/74718246