api v2 repositories - first cut of repositories crud and enable/disable