post https://icc-dev.aylanetworks.com/icc/v1/filters
This API creates a device filter.
Field | Necessity | Description |
---|---|---|
attributes | optional | List of data objects |
device_metadata | optional | List of device metadata objects |
description | optional | Brief description of the filter |
dsns | optional | Array of DSNs { “match”: [“dsn1”], “include”: [“dsn2”], “exclude”: [“dsn3”] } |
filter_metadata | optional | List of filter metadata objects |
name | required | Filter name |
oem_model | required | OEM model name |
oem_version | optional | OEM version number |
properties | optional | List of properties data objects |
status | optional | List of status objects |
{
"dsns": {
"exclude": [],
"include": [],
"match": [
"TESTDSN_753877_001",
"TESTDSN_164527_000"
]
},
"name": "TestFileter33",
"oem_model": "ledevb",
"oem_version": null
}
{
“oem_model”:”linuxex1”,
“name”: “V2 Washers”,
“properties”:
[
{“key”:“Backlight”,
“op”:“=”,
“value”:“1”
}
]
}