Skip to content

"thumbnail_url" is empty for "media_type": "video" #130

@art-chen-v

Description

@art-chen-v

Hello,

JSON response has empty "thumbnail_url" with "media_type": "video".
Request url: https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY&end_date=2025-03-25&start_date=2025-03-02&thumbs=true

Maybe because "media_type" is not actually a video. It is an interactive picture: https://apod.nasa.gov/apod/image/1803/AstroSoM/hudf.html

{
    "date": "2025-03-02",
    "explanation": "Have you heard about the Hubble Ultra-Deep Field?  Either way, you've likely not heard about it like this -- please run your cursor over the featured image and listen!  The Hubble Ultra-Deep Field (HUDF) was created in 2003-2004 with the Hubble Space Telescope staring for a long time toward near-empty space so that distant, faint galaxies would become visible.  One of the most famous images in astronomy, the HUDF is featured here in a vibrant way -- with sonified distances. Pointing to a galaxy will play a note that indicates its approximate redshift. Because redshifts shift light toward the red end of the spectrum of light, they are depicted here by a shift of tone toward the low end of the spectrum of sound.  The further the galaxy, the greater its cosmological redshift (even if it appears blue), and the lower the tone that will be played. The average galaxy in the HUDF is about 10.6 billion light years away and sounds like an F#. What's the most distant galaxy you can find?",
    "media_type": "video",
    "service_version": "v1",
    "thumbnail_url": "",
    "title": "The Hubble Ultra Deep Field in Light and Sound",
    "url": "https://apod.nasa.gov/apod/image/1803/AstroSoM/hudf.html"
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions