[api] Return the repo download-info when created