You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imagine that we need to show info about rovers in a home page, and we need to do it via their manifest, but, in this query we are getting the necessary info and the photos too, so it is more expensive than if we will have a way to say to the api, hey remove the entry photos, i don't need that at this time, it will take so long time as i need for just show the rover info.
I think we could have this approach adding a URL param maybe no_photos as a bolean, by default, the query return all, but if we pass the param, then the entry photo not come into response.
Something like this: https://api.nasa.gov/mars-photos/api/v1/manifests/opportunity?api_key=DEMO_KEY&no_photos=true
The text was updated successfully, but these errors were encountered:
Hey, if you only want information about the rovers without photos, you can try this: https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity. With this URL, you will only see details about the rover without the photos parameter, and the response time will be shorter.
Imagine that we need to show info about rovers in a home page, and we need to do it via their manifest, but, in this query we are getting the necessary info and the photos too, so it is more expensive than if we will have a way to say to the api, hey remove the entry
photos
, i don't need that at this time, it will take so long time as i need for just show the rover info.I think we could have this approach adding a URL param maybe
no_photos
as a bolean, by default, the query return all, but if we pass the param, then the entryphoto
not come into response.Something like this:
https://api.nasa.gov/mars-photos/api/v1/manifests/opportunity?api_key=DEMO_KEY&no_photos=true
The text was updated successfully, but these errors were encountered: