Skip to main content

kv.get

Get values from the key-value store. Use the keys array to return values for a subset of keys. If no value exists for a given key, it will return null for that specific key.

Key-values are stored as a string->JSON pair and any JSON value can be stored for any string key.

warning

Some keys are used internally by Porla. These are prefixed with porla. and should be used with caution.

Request

{
"keys": [
"webui.torrents.list.cols"
]
}

Response

{
"values": {
"webui.torrents.list.cols": [
{ "id": "info-hash", "order": 1 },
{ "id": "name", "order": 2 },
]
}
}