Extending traccar API to access custom tables / queries

Hi,

I have added few custom table in the traccar database through changelog.xml and new query entries in traccar.xml. I want to get the results of these queries from traccar API without modifying/customizing source code? Is this achievable? If Yes, then how? If not, then which file is the best place to add the code for this?

Or, is there any other best way to accomplish this?

Awaiting help?

Thanks in advance,

Anton Tananaev8 years ago

It's not possible. You need to modify/add a few files. I would recommend to look at existing examples.

Thanks for the reply. Where can i find these examples?

Anton Tananaev8 years ago

Look at existing tables and models (e.g. groups or devices);