Version 3.0.0
Features
- Added ability to sort on any field where an endpoint returns an array - #129
- Added array of links to official SpaceX flickr photos for rockets, dragon capsules, launches, and the tesla roadster
- Added
tentative_max_precisionfield for more information about partial dates in upcoming launches. Values can include hour, day, month, quarter, half, or year. This provides important context about how precise the future date is - Added link to api status page - 42aec55
- Added reusable date parsing utility - 0d8ebc0
- Added ability to pretty print json results with the
pretty=truequerystring - d8c51e6 - Added ability to mask and filter specific json fields from the response to reduce JSON payload size - 9558453 - ( thanks @jhpratt )
- Added script to update payload orbit params on an hourly basis - 03777f4
- Added missions endpoint with additional data regarding groups of 2 or more launches by the same company
- Added
arg_of_pericenterandmean_anomalyto current orbital params for full Keplerian element support - Added automated update script to pull updated launch times from the r/SpaceX wiki manifest every 10 min
- Added automated script to pull current orbital data from the SpaceTrack API every hour
- Added automated script to pull current lat/long, status, course, and speed of SpaceX support ships from MarineTraffic.com every 10 min
- Updated docker compose to use alpine redis to reduce image size - 3e70fd1
- Updated production logger to strip private info from response object - d9b47c1
- Switched from day.js to moment.js in update scripts for improved UTC support - bf596e5
Fixes
- Fixed bug where duplicates might show up in payload endpoint - 5e608d5
- Fixed bug where v3 rocket id was removed - 82c2568
- Fixed bug where roadster epoch was displayed as a string instead of an int - 884c713
Docs Changes
- Now using Postman for docs
- A Postman collection with all the new endpoints is available here
- Added link to community made apps/bots/clients here
Endpoint Changes
/v2/launches/all---->/v3/launches/v2/launches---->/v3/launches/past/v2/info/history---->/v3/history/v2/info/roadster---->/v3/roadster/v2/parts/cores---->/v3/cores/v2/parts/caps---->/v3/capsules/v2/capsules---->/v3/dragons
Database Changes
- Added
flickr_images,landing_intent,arg_of_pericenter,mean_anomaly,fairings,ships,static_fire_date_unix,is_tentative, andtentative_max_precisionto launches - Added
reuse_countto capsules - Added
reuse_countto cores - Added Ships collection
- Added Missions collection
- Updated
rtls_attemptsandasds_attemptsin cores to be an int instead of boolean - In rockets,
idis nowrocket_id,rocketidis nowid, andtypeis nowrocket_typeto bring the fields in line with the launch fields - In launchpads,
idis nowsite_id,padidis nowid, andfull_nameis nowsite_name_longto bring the fields in line with the launch fields - The
reuseobject is no longer included on v3 launches. Reuse information has been moved into each core, payload, and fairing object capsules,cores, andshipsendpoints now have a new array format for the missions array. The new format provides more context, and allows the flight number to be passed in easily as a query param to quickly get launch data:/launches/18- Old:
"missions": [ "CRS-4" ]
- New:
"missions": [ { "name": "CRS-4", "flight": 18 } ]
- Old: