Skip to content

Commit

Permalink
Updated REST API docs to contain 'false' as the 'snap-to-roads' argum…
Browse files Browse the repository at this point in the history
…ent of 'getPositions' method to conform to the current signature (updated in scope of #193)
  • Loading branch information
vitalidze committed Jul 14, 2015
1 parent caa221d commit 074d453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Take full JSON of device and put it to `getPositions` method.
* Load archived positions (`getPositions` method)

{% highlight bash %}
curl -v --cookie "JSESSIONID=xxxxxxxxx" -X POST --data "[{\"id\":3,\"uniqueId\":\"123\",\"name\":\"Phone\"},\"2015-01-01 00:00:00 GMT\",\"2015-01-01 23:59:59 GMT\",false]" https://d.traccar.litvak.su/traccar/rest/getPositions
curl -v --cookie "JSESSIONID=xxxxxxxxx" -X POST --data "[{\"id\":3,\"uniqueId\":\"123\",\"name\":\"Phone\"},\"2015-01-01 00:00:00 GMT\",\"2015-01-01 23:59:59 GMT\",false,false]" https://d.traccar.litvak.su/traccar/rest/getPositions
* Hostname was NOT found in DNS cache
* Trying 188.166.50.6...
* Connected to d.traccar.litvak.su (188.166.50.6) port 80 (#0)
Expand Down

0 comments on commit 074d453

Please sign in to comment.