prkng / api

REST API powering Prkng apps and Web services
MIT License
10 stars 8 forks source link

add `way_name` to post /checkins result #8

Closed mudar closed 8 years ago

mudar commented 8 years ago

low priority, as discussed: could you add field way_name to result output of POST /v1/checkins/.

It currently returns

01-08 15:58:02.911 {
01-08 15:58:02.911     "active": true, 
01-08 15:58:02.911     "checkin_time": "2016-01-08T20:58:06.109255", 
01-08 15:58:02.911     "checkout_time": null, 
01-08 15:58:02.911     "city": "montreal", 
01-08 15:58:02.911     "id": 191, 
01-08 15:58:02.911     "lat": 45.4905240545308, 
01-08 15:58:02.912     "long": -73.5667680124757, 
01-08 15:58:02.912     "slot_id": 441422, 
01-08 15:58:02.912     "user_id": 6
01-08 15:58:02.912 }

while GET /v1/checkins does include the way_name field

peakwinter commented 8 years ago

Also gotta change the references to button_location for returned lat/long.