API endpoint that allows all Events to be viewed.

GET: Return a list of all Events

SEARCH EXAMPLE: /2.0.0/event/?search=Dragon Searches through name

GET /2.0.0/event/1121/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 1121,
    "url": "https://lldev.thespacedevs.com/2.0.0/event/1121/?format=api",
    "slug": "total-lunar-eclipse-3",
    "name": "Total Lunar Eclipse",
    "type": {
        "id": 11,
        "name": "Celestial Event"
    },
    "description": "The Moon will pass into Earth’s shadow and appear to turn red on the night of March 13 or early in the morning of March 14, depending on time zone.",
    "location": "Pacific and America",
    "news_url": "https://science.nasa.gov/solar-system/moon/what-you-need-to-know-about-the-march-2025-total-lunar-eclipse/",
    "video_url": "https://www.youtube.com/watch?v=BguB5KSBYd0",
    "feature_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/total_lunar_ecl_image_20221108082109.jpeg",
    "date": "2025-03-14T03:57:00Z",
    "launches": [],
    "expeditions": [],
    "spacestations": [],
    "program": []
}