Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automate import archive from GPX #1214

Open
noxqs opened this issue Feb 13, 2019 · 2 comments
Open

automate import archive from GPX #1214

noxqs opened this issue Feb 13, 2019 · 2 comments

Comments

@noxqs
Copy link

noxqs commented Feb 13, 2019

Great work,

Currently I think I can only import GPX by clicking on the IMPORT button.
I would like to automate this at the end of every day.
How would you do that ? Is it already possible ? I can't find it in the rest and api doc.

@noxqs
Copy link
Author

noxqs commented Feb 13, 2019

I think I understand a bit more; there is a POST to https://d.traccar.litvak.su/traccar/import/gpx?deviceId=[int]
I presume the gpx data is attached in the POST.

@vitalidze
Copy link
Owner

Yes, that's correct. You will need to be authorised in a similar way as you do to access the REST API.

Please note that the demo server should not be used for the production data. It is a subject to be wiped from time to time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants