API for position updates

Roba year ago

Hi,

I'd like to push position updates via an HTTP API.
I've tried the OwnTracks protocol port - which is good enough for the main data of course,
but I'd like to send in more detail ( {P,H,V}DOP etc) that I don' think I can submit in the OwnTracks payload.

Is there a very broad endpoint I can use?

I don't see a dedicated one in the REST API.

Great job on the enormous device support by the way - too many for me to research!

Thanks

Rob

Anton Tananaeva year ago

You can try OsmAnd protocol. There you can send any arbitrary attributes.

Roba year ago

That's perfect @Anton
Thank you.

https://github.com/traccar/traccar/blame/8638bc8ab98fa5ee6199ecaa28754972dee15e5e/src/main/java/org/traccar/protocol/OsmAndProtocolDecoder.java#L149

Is there a list of standard keys for known attributes anywhere?

Thanks

Rob

Anton Tananaeva year ago
Roba year ago

Fantastic Anton,
Thank you
Rob