traccar icon indicating copy to clipboard operation
traccar copied to clipboard

Users array does not come in event

Open jbadis opened this issue 3 years ago • 3 comments

After updating to Traccar server version 5.2, the "event" event stopped receiving the users array.

"users": [ { "id": 5, "attributes": { "speedUnit": "kmh" }, "name": "Anna", "login": "", "email": "[email protected]", "phone": "", "readonly": false, "administrator": false, "map": "", "latitude": 0, "longitude": 0, "zoom": 0, "twelveHourFormat": false, "coordinateFormat": "", "disabled": false, "expirationTime": null, "deviceLimit": -1, "userLimit": 0, "deviceReadonly": false, "token": "rere32", "limitCommands": false, "poiLayer": "", "disableReports": false, "password": null }

Using the user id, we sorted events from clients

jbadis avatar Jul 21 '22 14:07 jbadis

Please provide more details on why you need this and why other alternatively, like WebSockets doesn't work for your use case.

tananaev avatar Jul 21 '22 14:07 tananaev

Our work of integration with a third-party service is based on events (webhooks). Adding WebSockets will greatly complicate it.

jbadis avatar Jul 21 '22 15:07 jbadis

OK, let's keep it here to collect interest from other users.

tananaev avatar Jul 21 '22 15:07 tananaev