A couple of universities built a telescope called Dragonfly, that utilizes 48 Canon 400mm lenses to photograph the skies of New Mexico. The kicker is they don't use camera bodies. Instead, they designed and built mounts that directly connect the lens to a sensor. A PC controls each lens through some custom electronics using commands they reverse-engineered from the Canon control software. These commands control focus, aperture, and triggering a photograph. Images from the 48 lenses are then combined in the computer into a highly detailed final image. This was done back in 2013 so its possible Canon has released an API by now but I suspect they still keep it proprietary.