1
0
Files
reap-api-bruno-collection/04-network scan/get-child.bru
2026-02-16 16:55:57 +01:00

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
}