Associations
-
Country country
- Default identifier
- iso_3166_code
- Example
- http://impact.brighterplanet.com/rail_trips?country=AD
- Example
- http://impact.brighterplanet.com/rail_trips?country[iso_3166_code]=AD
-
Rail class rail_class
- Default identifier
- name
- Example
- http://impact.brighterplanet.com/rail_trips?rail_class=commuter
- Example
- http://impact.brighterplanet.com/rail_trips?rail_class[name]=commuter
-
Rail company rail_company
- Default identifier
- name
- Example
- http://impact.brighterplanet.com/rail_trips?rail_company=Alaska+Railroad+Corporation
- Example
- http://impact.brighterplanet.com/rail_trips?rail_company[name]=Alaska+Railroad+Corporation
-
Rail traction rail_traction
- Default identifier
- name
- Example
- http://impact.brighterplanet.com/rail_trips?rail_traction=diesel
- Example
- http://impact.brighterplanet.com/rail_trips?rail_traction[name]=diesel
Attributes
-
Date date
- Accepts
- Date
- Example
- http://impact.brighterplanet.com/rail_trips?date=…
-
Destination destination
- Accepts
- String
- Example
- http://impact.brighterplanet.com/rail_trips?destination=…
-
Distance distance
- Accepts
- Float
- Measures
- Kilometres
- Example
- http://impact.brighterplanet.com/rail_trips?distance=…
-
Duration duration
- Accepts
- Float
- Measures
- Seconds
- Example
- http://impact.brighterplanet.com/rail_trips?duration=…
-
Origin origin
- Accepts
- String
- Example
- http://impact.brighterplanet.com/rail_trips?origin=…