This api allows you to list the trips that has been created overall.
GET https://api.teliver.xyz/v1/trips
Paramters
Response
{ "message":"Trips","success":true,"data":{ "trips":[ { "_id":"trip_id_here","created_at":"2017-08-29T15:08:54.639Z","ttl":"2017-08-29T17:08:54.628Z","tracking_id":"test","status":"2","ends_at":"13.0039875,80.2628844","end_location":"4th St, Venkateswara Nagar, Adyar, Chennai, Tamil Nadu 600020, India","starts_at":"13.0039875,80.2628844","start_location":"4th St, Venkateswara Nagar, Adyar, Chennai, Tamil Nadu 600020, India","agent_id":"test_driver" }, { "_id":"trip_id_here","created_at":"2017-08-18T14:41:18.281Z","ttl":"2017-08-18T16:41:18.270Z","tracking_id":"test","status":"3","ends_at":"","end_location":"","starts_at":"13.0712874,80.2827595", "start_location":"Chennai Port – Maduravoyal Expy, Port Trust Officers Quarters, The Island, Chintadripet, Chennai, Tamil Nadu 600002, India",
"agent_id":"test_driver" } ] }}
Retrieve a Trip
This api allows you to get a particular trip with trip id.