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:
4 Modifications
Modified 4 Breaking
GET /bookings
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Modified
        • Combinator is now oneOf

        • object-1 alternative Modified
          • Full types went from array[object] to object

            Breaking

        • array-2 alternative Added
  • 400 response Added
GET /stations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Modified
        • Combinator is now oneOf

        • object-1 alternative Modified
          • Full types went from array[object] to object

            Breaking

        • array-2 alternative Added
  • 400 response Added
GET /trips
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Modified
        • Combinator is now oneOf

        • object-1 alternative Modified
          • Full types went from array[object] to object

            Breaking

        • array-2 alternative Added
POST /bookings
  • Body
  • application/json content type Modified
    • data property Modified
      • Combinator is now oneOf

      • object-1 alternative Modified
      • array-2 alternative Added
    • links property Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

  • Response
  • 201 response Modified
    • application/json content type Modified
      • booking_id, 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