UNIFIAPI v0.3 FE setings done

This commit is contained in:
jokob-sk
2025-08-11 15:00:22 +10:00
parent 1319c3380d
commit 1c4e6c7e38
4 changed files with 126 additions and 117 deletions

View File

@@ -7,7 +7,7 @@ Unifi import plugin using the Site Manager API.
### Quick setup guide
Navigate to your UniFi Site Manager _⚙️ Settings -> Control Plane -> Integrations_.
Navigate to your UniFi Site Manager _Settings -> Control Plane -> Integrations_.
- `api_key` : You can generate your API key under the _Your API Keys_ section.
- `base_url` : You can find your base url in the _API Request Format_ section, e.g. `https://192.168.100.1/proxy/network/integration/`

View File

@@ -208,9 +208,7 @@
"elementType": "button",
"elementOptions": [
{
"sourceSuffixes": [
"_in"
]
"sourceSuffixes": []
},
{
"separator": ""
@@ -223,6 +221,22 @@
},
{
"getStringKey": "Gen_Add"
}
],
"transformers": []
},
{
"elementType": "select",
"elementHasInputValue": 1,
"elementOptions": [
{
"multiple": "true"
},
{
"readonly": "true"
},
{
"editable": "true"
},
{
"popupForm": [
@@ -237,14 +251,8 @@
{
"placeholder": "Enter value"
},
{
"suffix": "_in"
},
{
"cssClasses": "col-sm-10"
},
{
"prefillValue": "null"
}
],
"transformers": []
@@ -281,14 +289,8 @@
{
"placeholder": "https://host_ip/proxy/network/integration/"
},
{
"suffix": "_in"
},
{
"cssClasses": "col-sm-10"
},
{
"prefillValue": "null"
}
],
"transformers": []
@@ -315,7 +317,7 @@
]
},
{
"function": "version",
"function": "api_version",
"type": {
"dataType": "string",
"elements": [
@@ -325,14 +327,8 @@
{
"placeholder": "v1"
},
{
"suffix": "_in"
},
{
"cssClasses": "col-sm-10"
},
{
"prefillValue": "null"
}
],
"transformers": []
@@ -369,14 +365,8 @@
{
"placeholder": "Enter value"
},
{
"suffix": "_in"
},
{
"cssClasses": "col-sm-10"
},
{
"prefillValue": "null"
}
],
"transformers": []
@@ -403,7 +393,7 @@
]
},
{
"function": "hide.site.verify_ssl",
"function": "verify_ssl",
"type": {
"dataType": "boolean",
"elements": [
@@ -441,22 +431,6 @@
"transformers": []
}
],
"transformers": []
},
{
"elementType": "select",
"elementHasInputValue": 1,
"elementOptions": [
{
"multiple": "true"
},
{
"readonly": "true"
},
{
"editable": "true"
}
],
"transformers": [
"name|base64"
]
@@ -520,7 +494,7 @@
"description": [
{
"language_code": "en_us",
"string": "UniFi sites"
"string": "UniFi site configurations. Use a unique name for each site. You can find necessary details to configure this in your controller under <i>Settings -> Control Plane -> Integrations</i>."
}
]
}