corincerami / mars-photo-api

A Rails API for photo data from NASA's Mars Rovers
https://api.nasa.gov/#MarsPhotos
GNU General Public License v3.0
358 stars 48 forks source link

Call to /api/v1/rovers returns duplicated information #56

Closed Rob-- closed 6 years ago

Rob-- commented 7 years ago

Hi,

I already know this issue has been raised before ( #27 ) and I see in your response you said it was a feature as each photo record has data about the rover the photo belongs to.

The API endpoint requires you to specify a rover, so every image belongs to the exact same rover. The rover object should be included only once, the response size would be a lot smaller this way as well.