apod-api
apod-api copied to clipboard
Undocumented media type "other"
Today, my script for the APOD API failed to parse the response. Reason was "media_type": "other".
Full response for today is:
{
"date": "2025-05-19",
"explanation": "What if you could fly over Pluto's moon Charon […]",
"media_type": "other",
"service_version": "v1",
"title": "Charon Flyover from New Horizons"
}
This media type is not documented (and contains no URL at all). I think it should be documented.
PS: The resource looks like a video on apod.nasa.gov, I don't know why it was categorized as other.
Fixed in https://github.com/nasa/apod-api/pull/131
Waiting for merge
This bug affects today’s APOD as well. It would be awesome to get the outstanding PR merged 🙏
and today again