[api2] Added shared repo related apis