Update Documentation

This commit is contained in:
Amin Ben Romdhane 2023-05-08 14:26:33 +02:00
parent 7de206040c
commit 8d332f9efa
2 changed files with 4 additions and 4 deletions

View file

@ -1890,11 +1890,11 @@ To set multiple values at once, path should be relative to object elements
##### obj_path Examples ##### obj_path Examples
```json ```json
{ "path": "Device.WiFi.SSID.1", "values": { ".SSID": "test_ssid", ".Name": "test_name" } } { "path": "Device.WiFi.SSID.1.", "obj_path": { "SSID": "test_ssid", "Name": "test_name" } }
``` ```
```json ```json
{ "path": "Device.WiFi.SSID.2", "values": { ".SSID": "test_ssid" } } { "path": "Device.WiFi.SSID.2.", "obj_path": { "SSID": "test_ssid" } }
``` ```
#### optional #### optional

View file

@ -570,8 +570,8 @@
"obj_path": { "obj_path": {
"description": "To set multiple values at once, path should be relative to object elements", "description": "To set multiple values at once, path should be relative to object elements",
"examples": [ "examples": [
"{\"path\":\"Device.WiFi.SSID.1\", \"values\":{\".SSID\":\"test_ssid\",\".Name\":\"test_name\"}}", "{\"path\":\"Device.WiFi.SSID.1.\", \"obj_path\":{\"SSID\":\"test_ssid\",\"Name\":\"test_name\"}}",
"{\"path\":\"Device.WiFi.SSID.2\", \"values\":{\".SSID\":\"test_ssid\"}}" "{\"path\":\"Device.WiFi.SSID.2.\", \"obj_path\":{\"SSID\":\"test_ssid\"}}"
], ],
"type": "object", "type": "object",
"properties": {} "properties": {}