Decrypt/decode the Events REST api DATA

Hi @brocaar
I am access the Rest API " [GET]
[/api/devices/{dev_eui}/events] " using some C application using sockets or curl. So json data we are getting like devAddr, DeviceEUI, gatewayId etc are in some what encrypted. I tried to decode them in normal base64 decoding but they didnot work . Can you suggest the proper algo/method to decode them directly in C app instead of accessing different restApis for different parameters.

Please suggest

Please read the note of this API endpoint:

This endpoint is really only intended to show the events in the web-interface. For your integrations, please use one of the existing integrations instead of relying on this API endpoint. If you still want to make use of this API, I recommend using the gRPC interface.