Change Updates

Do not miss any Train Travel API changes, ever again

Subscribe to the Train Travel API changelog to be up to date on recent changes.

RSS

Feb 2, 2024

main
1.0.0
Compare

API structure has changed

4 structure changes including:
1 Addition
3 Modifications
Modified 3 Breaking
GET /stations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • Full types went from array[object] to object

        Breaking

      • data, links properties Added
GET /trips
  • Response
  • 200 response Modified
    • application/json content type Modified
      • Full types went from array[object] to object

        Breaking

      • data, links properties Added
POST /bookings
  • Body
  • application/json content type Modified
    • trip_id, passenger_name, has_bicycle, has_dog properties Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

    • data, links properties Added
Added 1
GET /bookings