Encounters
Name | Description |
---|---|
token | User token |
tour_id | Tour id |
Content-Type: application/json Host: example.org Cookie:
GET /api/v1/tours/1/encounters?token=foobar5
token: foobar5
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 ETag: W/"bf970e203eef383cf57b73ea588be104" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 5d7c972b-40e9-4bd9-82d3-5cac0cdb5e02 X-Runtime: 0.014894 Content-Length: 236
201 Created
{ "encounters": [ { "id": 1, "date": "2014-10-11T15:19:45.000+02:00", "latitude": 48.870424, "longitude": 2.30682, "user_id": 5, "user_name": "John", "street_person_name": "Toto", "message": "Toto fait du velo.", "voice_message": "https://www.google.com" } ] }