getAttributeKeysByScope method

Future<List<String>> getAttributeKeysByScope(
  1. EntityId entityId,
  2. String scope, {
  3. RequestConfig? requestConfig,
})

Implementation

Future<List<String>> getAttributeKeysByScope(EntityId entityId, String scope,
    {RequestConfig? requestConfig}) async {
  var response = await _tbClient.get<List<String>>(
      '/api/plugins/telemetry/${entityId.entityType.toShortString()}/${entityId.id}/keys/attributes/$scope',
      options: defaultHttpOptionsFromConfig(requestConfig));
  return response.data!;
}