This API provides access to read and write any text (json) data to the internal store. Plugins can use the internal store or jsonStore module to alo read and write data to the store.
Gets a list of all keys in the store.
Property | Type | Description |
---|---|---|
keys | Array<string> |
List of available keys. |
Gets a store item.
Property | Type | Description |
---|---|---|
storeItem | The module. |
Property | Type | Description |
---|---|---|
key | string |
The unique store item key. |
value | string |
The content of the store for that key. |
Gets the value of a store item.
The body
contains the item value and the content type is text/html; charset=utf-8
.
Property | Type | Description |
---|---|---|
message | string |
Store item with given key does not exist. |
Adds a new value to the store using given key.
Property | Type | Description |
---|---|---|
storeItem | The store item. |
Property | Type | Description |
---|---|---|
message | string |
Invalid store item key or store item with given key already exists. |
Updates an existing item in the store.
Property | Type | Description |
---|---|---|
storeItem | The store item. |
Property | Type | Description |
---|---|---|
message | string |
Invalid store item key or store item with given key already exists. |
Updates the value of an existing store item.
The body
contains the item value and the content type shall be text/html; charset=utf-8
.
Property | Type | Description |
---|---|---|
message | string |
Store item with given key does not exist. |
Deletes an existing store item.
Property | Type | Description |
---|---|---|
message | string |
No store item to delete for given key found. |