get(); // ->paginate($limit, ['*'], 'page', $offset); // $data = [ // 'total_size' => $attributes->total(), // 'limit' => $limit, // 'offset' => $offset, // 'attributes' => $attributes->items() // ]; return response()->json($attributes,200); } }