apod-api icon indicating copy to clipboard operation
apod-api copied to clipboard

Undocumented media type "other"

Open GKnirps opened this issue 6 months ago • 1 comments

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.

GKnirps avatar May 19 '25 15:05 GKnirps

Fixed in https://github.com/nasa/apod-api/pull/131

Waiting for merge

Image

jsolly avatar May 20 '25 21:05 jsolly

This bug affects today’s APOD as well. It would be awesome to get the outstanding PR merged 🙏

lostintangent avatar Aug 11 '25 14:08 lostintangent

and today again

krypton1981 avatar Sep 15 '25 14:09 krypton1981