This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:core:get_hw_types [08/06/2016 12:45] stan [Parameters] |
en:sidebar:remoteapi:apiref:core:get_hw_types [27/04/2018 16:04] stan [Response] |
||
---|---|---|---|
Line 16: | Line 16: | ||
| 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 | | ||
| 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 igonore device type rename or not | | + | | ignoreRename | flag, whether to ignore device type rename or not | |
===== Response ===== | ===== Response ===== | ||
Line 22: | Line 22: | ||
[ /* hardware types */ | [ /* hardware types */ | ||
{ | { | ||
- | "id":<uint>, /* ID */ | + | "id":<uint>, /* ID */ |
- | "name":<text> /* name */ | + | "uid2":<uint>, /* second ID */ |
+ | "name":<text> /* name */ | ||
+ | "hw_category":<text>, /* hardware type */ | ||
+ | "tp":<text>, /* TCP port */ | ||
+ | "up":<text> /* UDP port */ | ||
}, | }, | ||
... | ... | ||
] | ] | ||
</code> | </code> |
|