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

Changelog

Last update:
Compare
4 structure changes including:
4 Modifications
Modified 4 Breaking
GET /bookings
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Modified
        • Removing polymorphism is always breaking
          Breaking
GET /stations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Modified
        • Removing polymorphism is always breaking
          Breaking
GET /trips
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Modified
        • Removing polymorphism is always breaking
          Breaking
POST /bookings
  • Body
  • application/json content type Modified
    • data property Modified
      • Removing polymorphism is always breaking
        Breaking
      • data property Modified
        • Removing polymorphism is always breaking
          Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • data property Modified
        • Removing polymorphism is always breaking
          Breaking
      • links property Modified
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
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