Forum Discussion

pverfaillie's avatar
3 years ago

Last checked config sources LM API

Hi,

I would like to retrieve the last checked time for the config source using the LM API. 

1 Reply

  • Anonymous's avatar
    Anonymous

    /device/devices/{deviceId}/devicedatasources/{hdsId}/instances/{instanceId}

    If it's a single instance datasource, you don't need to specify the instance id since /instances will return a list of instances which contains the field you're looking for: look for the "lastCollectedTime" value.