Event Instance
Modes
Levels of detail in the response - list
, normal
, detailed
Example - /events/?mode=list
Filters
Parameters - agency__ids
, date__gt
, date__gt__lt
, date__gte
, date__lte
, day
, id
, last_updated__gte
, last_updated__lte
, month
, program
, slug
, type
, type__ids
, video_url
, year
Example - /events/?type__ids=2,8
Search
Fields searched - name
Example - /events/?search=Flyby
Ordering
Fields - date
, last_updated
Example - /events/?ordering=-last_updated
Number of results
Use limit
to control the number of objects in the response (max 100)
Example - /events/?limit=2
Format
Switch to JSON output - /events/?format=json
Help
Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs
GET /2.3.0/events/403/?format=api
https://lldev.thespacedevs.com/2.3.0/events/403/?format=api", "name": "Lucy Trojan Asteroids (617) Patroclus & Menoetius Flyby", "info_urls": [ { "priority": 10, "source": "lucy.swri.edu", "title": "Lucy Mission", "description": "\n• Construction and testing of the L'LORRI Instrument is completed at APL and it is delivered to Lockheed Martin\n• Construction and testing of the L'TES Instrument is completed at ASU and it is delivered to Lockheed Martin\n• Construction and testing of the L'Ralph Instrument is completed at NASA God...", "feature_image": null, "url": "http://lucy.swri.edu/timeline.html", "type": null, "language": { "id": 1, "name": "English", "code": "en" } } ], "vid_urls": [], "image": { "id": 1004, "name": "Lucy in space render", "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/lucy_earth_flyb_image_20210930111825.jpg", "thumbnail_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191348.jpeg", "credit": "NASA", "license": { "id": 4, "name": "NASA Image and Media Guidelines", "priority": 0, "link": "https://www.nasa.gov/nasa-brand-center/images-and-media/" }, "single_use": false, "variants": [] }, "date": "2033-03-03T00:00:00Z", "slug": "lucy-trojan-asteroids-617-patroclus-menoetius-flyb", "type": { "id": 23, "name": "Flyby" }, "description": "Flyby of the Trojan binary asteroid pair (617) Patroclus and Menoetius by NASA's Lucy mission.", "webcast_live": false, "location": "(617) Patroclus & Menoetius", "date_precision": null, "response_mode": "detailed", "duration": null, "updates": [], "last_updated": "2024-03-05T17:26:20Z", "agencies": [ { "response_mode": "list", "id": 44, "url": "https://lldev.thespacedevs.com/2.3.0/agencies/44/?format=api", "name": "National Aeronautics and Space Administration", "abbrev": "NASA", "type": { "id": 1, "name": "Government" } } ], "launches": [], "expeditions": [], "spacestations": [], "program": [], "astronauts": [] }{ "id": 403, "url": "