diff --git a/README.md b/README.md index 8ff14361fe3045b582c12442d2c73efdf2c074f1..f286b70ff154b30f85d97e0bc06e8ce3561ae83a 100644 --- a/README.md +++ b/README.md @@ -95,18 +95,19 @@ The objects registered with the above namespaces can be called with appropriate uspd provides below commands in pretty(usp) or raw(usp.raw) formats: 1. Get - 2. Get safe values - 3. Get safe names - 4. Get safe attributes + 2. Get multiple values + 3. Get multiple names + 4. Get multiple attributes 5. Set - 6. Operate - 7. Add object - 8. Delete object - 9. Object names - 10. Instances - 11. Validate - 12. Dump schema - 13. List operate + 6. Set multiple attributes + 7. Operate + 8. Add object + 9. Delete object + 10. Object names + 11. Instances + 12. Validate + 13. Dump schema + 14. List operate It also provide a granularity layer which can be configured using uci parameter and provide additional ubus objects. @@ -328,7 +329,7 @@ root@iopsys:~# ubus call usp.raw get '{"path":"Device.Users."}' - For more info on the `usp` ubus API see [link](./docs/api/usp.md#get) - For more info on the `usp.raw` ubus API see [link](./docs/api/usp.raw.md#get) -#### Get safe values +#### Get multiple values API to get values to specific object, object name must be provided in `paths` paratermer array. ````bash @@ -354,7 +355,7 @@ er.1.","Device.Users.User.2."]}' } ```` -#### Get safe attributes +#### Get multiple attributes API to get attributes to specific object, object name must be provided in `paths` paratermer array. ````bash @@ -405,8 +406,8 @@ root@iopsys:~# ubus call usp get '{"path":"Device.WiFi.SSID.[BSSID==\"34:E3:80:7 - For more info on the `usp` ubus API see [link](./docs/api/usp.md#set) - For more info on the `usp.raw` ubus API see [link](./docs/api/usp.raw.md#set) -#### Set safe attributes -API to set attributes to specific object, object name must be provided in `paths` paratermer array. +#### Set multiple attributes +API to set multiple attributes to specific object, object name must be provided in `paths` paratermer array. ````bash root@iopsys:~# ubus call usp setm_attributes '{"paths":[{"path":"Device.DeviceIn