Skip to content

No link available when mediaType is other #6

@abhishekvermaa10

Description

@abhishekvermaa10

When NASA's APOD is a video (eg. 6 April 2026) then this API returns media_type as other and no link to the video in response. We are using it in Telegram Bot and it will be great if this issue can be resolved.

Request
postman request 'https://apod.ellanan.com/api?date=2026-04-06'

Response
{ "title": "The Path of Artemis II", "credit": "NASA, GSFC, Artemis II, SVS", "explanation": "Why doesn't Artemis II land on the Moon? The main reason is that Artemis II is primarily a test mission designed to make a future Artemis missions -- which will land humans on the Moon -- better prepared. Similarly, NASA's Apollo 8 and Apollo 10 went right near the Moon as tests before Apollo 11 -- which landed. As the trajectory in the featured animated video shows, Artemis II will loop around both the Earth and the Moon before returning to the Earth about 10 days after launch. The Artemis II mission will take humans outside the Earth's magnetosphere for the first time since the Apollo missions 50 years ago. In the video, particles from the solar wind are shown as streaks, while the Earth's reacting magnetosphere is shown in flickering green. The Earth's magnetosphere is important in deflecting powerful particles arriving from the Sun as well as creating picturesque auroras visible from the Earth's surface.", "date": "2026-04-06", "service_version": "v1", "media_type": "other" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions