Forum Discussion

Stephen_C's avatar
Stephen_C
Icon for Neophyte rankNeophyte
6 months ago

Downloading configsource configs via API

 

I recently had an incident where the resource was accidentally removed from LM and the next day we needed the configs for the device, because it was removed from LM (and permanently deleted) we couldn't retrieve the configs.

I'd like to be able to download the configs via API and store the files somewhere if possible. Has anyone implemented something similar?

  • Anonymous's avatar
    Anonymous

    Should be doable. API docs are here

    Should be a GET to /device/devices/:deviceId/devicedatasources/:hdsId/instances/:instanceId/config

    • Anonymous's avatar
      Anonymous

      This is what happens when LM management has a requirement or goal for their team members to contribute on the community. Redundant answers.