# dataSaved

Description: Notification after a container with user data has been saved.

Example:

{
    "event": "dataSaved",
    "containerName": "testContainer",
    "data": "SomeData",
    "flag": "def",
    "method": "event"
}

Parameter description:

  • containerName — Name of a container where data are saved

  • data — Data to be saved

  • flag — Save flag. It can be as follows:

    • "def" — If a container with the same name already exists, all data will be overwritten (previous data will be lost)

    • "beg" — If a container with the same name already exists, then new data will be written to the beginning (previous data will be saved)

    • "ate" — If a container with the same name already exists, then new data will be written to the end (previous data will be saved)

See also: