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
352 stars 48 forks source link

Max sol and number of items in manifest #38

Closed kriskda closed 7 years ago

kriskda commented 7 years ago

So I'm looking at Curiosity manifest right now: https://api.nasa.gov/mars-photos/api/v1/manifests/Curiosity?api_key=DEMO_KEY It says "max_sol":1504 but last item in "photos" array is from Sol-1474. There are no items above 1474.

On the other hand I can access 1504: https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?sol=1504&api_key=DEMO_KEY

corincerami commented 7 years ago

@kriskda thanks for raising the issue. Seems like it's being caused by the manifest cache not being updated. I'll take a look at it during the upcoming long weekend.

corincerami commented 7 years ago

I'm pretty sure this is resolved now. Let me know if you have any further issues.