This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:core:get_hw_types [27/04/2018 16:04] stan [Response] |
en:sidebar:remoteapi:apiref:core:get_hw_types [04/03/2021 12:57] (current) chdi [Parameters] |
||
---|---|---|---|
Line 13: | Line 13: | ||
All params are optional. | All params are optional. | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | filterType | filter type, may be:\\ -**name**,\\ -**id**,\\ -**type** | | + | | filterType | filter type, may be:\\ -**name**,\\ -**id**,\\ -**type**,\\ -**feature** | |
- | | filterValue | filter value array (delimiter is comma), for different 'filterType'\\ values may be as follows::\\ **name** -- full device name(s),\\ **id** -- device id(s),\\ **type** -- values: auto, tracker, mobile, soft | | + | | filterValue | filter value array (delimiter is comma), for different 'filterType'\\ values may be as follows::\\ **name** -- full device name(s),\\ **id** -- device id(s),\\ **type** -- values: auto, tracker, mobile, soft ,\\ **feature** -- values: wifi_pos| |
| includeType | flag, whether to show device type\\ in response or not | | | includeType | flag, whether to show device type\\ in response or not | | ||
| ignoreRename | flag, whether to ignore device type rename or not | | | ignoreRename | flag, whether to ignore device type rename or not | | ||
Line 24: | Line 24: | ||
"id":<uint>, /* ID */ | "id":<uint>, /* ID */ | ||
"uid2":<uint>, /* second ID */ | "uid2":<uint>, /* second ID */ | ||
- | "name":<text> /* name */ | + | "name":<text>, /* name */ |
"hw_category":<text>, /* hardware type */ | "hw_category":<text>, /* hardware type */ | ||
"tp":<text>, /* TCP port */ | "tp":<text>, /* TCP port */ | ||
"up":<text> /* UDP port */ | "up":<text> /* UDP port */ | ||
- | |||
}, | }, | ||
... | ... | ||
] | ] | ||
</code> | </code> |
|