public function getAttributeDataFromTabs(array $limit = []) {
    $api_root_data = json_decode($this->nt8RestService->get('/'));
    $attrib_data = $api_root_data->constants->attributes;

    if (count($limit) > 0) {
      $attrib_data = array_filter($attrib_data, function ($value) use ($limit) {
        $attr_code = $value->code ?: '';
        if (in_array($attr_code, $limit)) {
          return TRUE;
        }

        return FALSE;
      });
    }

    return $attrib_data;
  }