---
url: https://gudhub.com/uk/docs/understanding-gudhub/application/items-list/
title: "Items List\n                #"
description: "Every application has lots of information from inputs. For the application to be able to preserve and exploit that, it uses something like data storage called i"
lang: uk
updated: 2026-09-11T20:21:44.490Z
---

# Items List [#](https://gudhub.com/uk/docs/understanding-gudhub/application/items-list/#items-list)

Every application has lots of information from inputs. For the application to be able to preserve and exploit that, it uses something like data storage called items\_list. It is an object array with all information from inputs. It is empty by default. When you add an item with a need for inputs in application, new object will appear in item\_list. It contains details from each field.

For each input template will be created a new instance with such information:

| Name | Type | Description |
| :-- | :-- | :-- |
| fields | `array` | _contains information about data;_ [_details..._](#fields) |
| index\_number | `number` | _shows index number of the item in the list;_ [_details..._](#index-number) |
| item\_id | `number` | _saves unique identification number_ |
| last\_update | `number` | _shows last time of update in milliseconds; is used for showing updated file information after reloading the page_ |

## fields [#](https://gudhub.com/uk/docs/understanding-gudhub/application/items-list/#fields)

This property is an object array. It is empty by default. It appears when new data is created. It consists of three properties. field\_value saves data value, field\_id shows what type of data is value, and data\_id is the ID used by the server.

## index\_number [#](https://gudhub.com/uk/docs/understanding-gudhub/application/items-list/#index-number)

Each field has an index number depending on its location in the list. Index starts from 1. When we delete the item, the index\_number of other ones will save their numbers. Despite this, when we add a new item, its index\_number will get the value after the last number.

For example, we had 3 items.

![Example table for indexes](https://bitbucket.org/AAtlas/gudhub-documentation/raw/master/Understanding_Gudhub/Application_Data_Structure/application-data-structure/app-data-structure-index-num-before.png "Original table")

Копіювати

```json
[
    {
    "fields": [{...
        "field_value": "first",...
        },...],
    "index_number": 1,
    "item_id": 2918286,
    "last_update": 1638969490135,
    },
    {
    "fields": [{...
        "field_value": "second",...
        },...],
    "index_number": 2,
    "item_id": 2919988,
    "last_update": 1638969479184,
    },
    {
    "fields": [{...
        "field_value": "third",...
        },...],
    "index_number": 3,
    "item_id": 2919989,
    "last_update": 1638969498385,
    }
]
```

If we delete the second one, the third item's index\_number will remain 3. The first’s one will remain the same too. The next step is adding a new item that will get number 4.

![Example table after changing indexes](https://bitbucket.org/AAtlas/gudhub-documentation/raw/master/Understanding_Gudhub/Application_Data_Structure/application-data-structure/app-data-structure-index-num-after.png "Table after changes")

Копіювати

```json
[
    {
    "fields": [{...
        "field_value": "first",...
        },...],
    "index_number": 1,
    "item_id": 2918286,
    "last_update": 1638969479184,
    },
    {
    "fields": [{...
        "field_value": "third",...
        },...],
    "index_number": 3,
    "item_id": ,
    "last_update": 1638969498385,
    },
    {
    "fields": [{...
        "field_value": "fourth",...
        },...],
    "index_number": 4,
    "item_id": ,
    "last_update": 1638970078808,
    }
]
```
