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

Changelog

Last update:
Compare
1 structure change including:
1 Modification
Modified 1
GET /stations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • links property Added
3 structure changes including:
3 Modifications
Modified 3 Breaking
GET /bookings
  • Query
  • limit query parameter Added
GET /stations
  • Query
  • limit, country query parameters Added
GET /trips
  • Query
  • page query parameter Modified
    • Type went from number to integer

      Breaking

  • limit query parameter Added
1 structure change including:
1 Modification
Modified 1
POST /bookings/{bookingId}/payment
  • Body
  • application/json content type Modified
    • source property Modified
      • Combinator went from anyOf to oneOf

  • Response
  • 200 response Modified
    • application/json content type Modified
      • source property Modified
        • Combinator went from anyOf to oneOf

1 structure change including:
1 Modification
Modified 1
GET /bookings
  • Query
  • page query parameter Added
1 structure change including:
1 Modification
Modified 1
GET /trips
  • Query
  • page query parameter Added
1 structure change including:
1 Modification
Modified 1 Breaking
GET /stations
  • Query
  • country query parameter Removed
    • Removing a resource is always breaking unless it was deprecated before

      Breaking

  • search query parameter Added
1 structure change including:
1 Modification
Modified 1 Breaking
GET /stations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • links property Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

  • Query
  • page, coordinates, country query parameters Added
1 structure change including:
1 Modification
Modified 1 Breaking
POST /bookings/{bookingId}/payment
  • Body
  • application/json content type Modified
    • Content type is now required

      Breaking

1 structure change including:
1 Modification
Modified 1
POST /bookings/{bookingId}/payment
  • Body
  • application/json content type Modified
    • source property Modified
      • Discriminator name is no longer object

  • Response
  • 200 response Modified
    • application/json content type Modified
      • source property Modified
        • Discriminator name is no longer object

5 structure changes including:
2 Additions
3 Modifications
Modified 3 Breaking
POST /bookings
  • Body
  • application/json content type Modified
    • data property Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

    • trip_id, passenger_name, has_bicycle, has_dog properties Added
  • application/xml content type Modified
    • data property Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

    • trip_id, passenger_name, has_bicycle, has_dog properties Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • data property Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

      • id, trip_id, passenger_name, has_bicycle, has_dog properties Added
    • application/xml content type Modified
      • data property Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

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

        Breaking

    • amount, currency, source properties Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

      • id, amount, currency, source, status properties Added
Webhook POST newBooking
  • Body
  • application/json content type Modified
    • data property Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

    • trip_id, passenger_name, has_bicycle, has_dog properties Added
Added 2
DELETE /bookings/{bookingId}
GET /bookings/{bookingId}
5 structure changes including:
2 Breaking changes
3 Modifications
2 Removals
Modified 3 Breaking
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 property Added
  • application/xml 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 property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • id, trip_id, passenger_name, has_bicycle, has_dog properties Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

      • data property Added
    • application/xml content type Modified
      • id, trip_id, passenger_name, has_bicycle, has_dog properties Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

      • data property Added
POST /bookings/{bookingId}/payment
  • Body
  • application/json content type Modified
    • amount, currency, source properties Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

    • data property Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • id, amount, currency, source, status properties Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

      • data property Added
Webhook POST newBooking
  • 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 property Added
Removed 2 Breaking
DELETE /bookings/{bookingId}
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
GET /bookings/{bookingId}
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
5 structure changes including:
2 Additions
3 Modifications
Modified 3 Breaking
POST /bookings
  • Body
  • application/json content type Modified
    • data property Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

    • trip_id, passenger_name, has_bicycle, has_dog properties Added
  • application/xml content type Modified
    • data property Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

    • trip_id, passenger_name, has_bicycle, has_dog properties Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • data property Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

      • id, trip_id, passenger_name, has_bicycle, has_dog properties Added
    • application/xml content type Modified
      • data property Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

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

        Breaking

    • amount, currency, source properties Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Removed
        • Removing a resource is always breaking unless it was deprecated before

          Breaking

      • id, amount, currency, source, status properties Added
Webhook POST newBooking
  • Body
  • application/json content type Modified
    • data property Removed
      • Removing a resource is always breaking unless it was deprecated before

        Breaking

    • trip_id, passenger_name, has_bicycle, has_dog properties Added
Added 2
DELETE /bookings/{bookingId}
GET /bookings/{bookingId}
6 structure changes including:
2 Additions
4 Modifications
Modified 4
GET /bookings
  • Response
  • 200 response Modified
    • application/json content type Modified
      • data property Modified
    • application/xml content type Modified
      • data property Modified
  • Authentication
  • OAuth2 authentication method Added
GET /stations
  • Authentication
  • OAuth2 authentication method Added
GET /trips
  • Response
  • 400 response Added
  • Authentication
  • OAuth2 authentication method Added
Webhook POST newBooking
  • Response
  • 200 response Added
Added 2
POST /bookings
POST /bookings/{bookingId}/payment
1 structure change including:
1 Addition
Added 1
Webhook POST newBooking
4 structure changes including:
1 Breaking change
3 Modifications
1 Removal
Modified 3 Breaking
GET /bookings
  • Authentication
  • OAuth2 authentication method Removed
    • Removing a resource is always breaking unless it was deprecated before

      Breaking

GET /stations
  • Authentication
  • OAuth2 authentication method Removed
    • Removing a resource is always breaking unless it was deprecated before

      Breaking

GET /trips
  • Authentication
  • OAuth2 authentication method Removed
    • Removing a resource is always breaking unless it was deprecated before

      Breaking

Removed 1 Breaking
POST /bookings
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
4 structure changes including:
4 Modifications
Modified 4
GET /bookings
  • Response
  • 200 response Modified
    • application/xml content type Added
  • 400 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 401 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 403 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 429 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 500 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
GET /stations
  • Response
  • 200 response Modified
    • application/xml content type Added
  • 400 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 401 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 403 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 429 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 500 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
GET /trips
  • Response
  • 200 response Modified
    • application/xml content type Added
  • 401 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 403 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 429 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 500 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
POST /bookings
  • Response
  • 201 response Modified
    • application/xml content type Added
  • 400 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 401 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 404 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 409 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 429 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • 500 response Modified
    • application/problem+json content type Modified
      • Full types is now object

      • Problem.yaml property Added
    • application/problem+xml content type Added
  • Body
  • application/xml content type Added
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