38 lines
772 B
Plaintext
38 lines
772 B
Plaintext
meta {
|
|
name: Information About Found Devices
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/get_child
|
|
body: formUrlEncoded
|
|
auth: inherit
|
|
}
|
|
|
|
body:form-urlencoded {
|
|
~i: 0
|
|
}
|
|
|
|
docs {
|
|
# Information About Found Devices
|
|
|
|
Retrieve results from the network scan.
|
|
|
|
## Set Parameters
|
|
- `i` (optional): Index of device for sending info back (0-searched devices count)
|
|
|
|
## Response
|
|
If `i` is not set:
|
|
- `sd`: 0 if scan is done else 1
|
|
- `max`: 1 if max devices reached else 0
|
|
- `c`: Discovered devices count
|
|
- `ip`: Discovered device IP address for each index (returned as numbered fields)
|
|
|
|
If `i` is set and `i` < devices count:
|
|
- `ip`: Discovered device IP address at index `i`
|
|
|
|
If `i` is set and `i` >= devices count:
|
|
- Empty JSON response
|
|
}
|