Get DataSource Instance Groups
Last updated on 28 September, 2020You can use LogicMonitor’s REST API to programmatically get datasource instance groups.
Note: As with all of our API calls, authentication is required.
Get a list of datasource instance groups
HTTP Method: GET
URI: /device/devices/{deviceId}/devicedatasources/{deviceDatasourceId}/groups
Where:
- {deviceId} is the device id, which you can get from a GET request to the devices resource
- {deviceDatasourceId} is the device datasource id, which you can get from a GET request to the device datasources resource
Request Parameters: By default, a list of 50 instances will be returned. You can include sort, filter, fields, size and offset parameters in your request to control what data is included in the response and how it is formatted.
Get information about a particular datasource instance
HTTP Method: GET
URI: /device/devices/{deviceId}/devicedatasources/{deviceDatasourceId}/groups/{groupId}
Where:
- {deviceId} is the device id, which you can get from a GET request to the devices resource
- {deviceDatasourceId} is the device datasource id, which you can get from a GET request to the device datasources resource
- {groupId} is the instance group id
Request Parameters: You can include a fields parameter in your request to control what data is included in the response and how it is formatted.