Rescan hosts
Changed onRescans several hosts at once. Hosts last found by the same daemon share one rescan, which scans all of their addresses in one session; hosts found by different daemons get one rescan per daemon. Every host is checked as in POST /{id}/rescan before any rescan starts, and the request is refused if any of them can't be rescanned.
Returns one session per daemon.
Request
- Base URLhttps://app.scanopy.net
- URLhttps://app.scanopy.net/api/v1/hosts/bulk-rescan
- Auth
- API key in header Authorization
- or API key in cookie session_id
Request body
Response
Rescan sessions started, one per daemon
Example response
{
"data": [
{
"warnings": [
{
"daemon_version": "0.18.0",
"last_unsupported_daemon_version": "0.18.0"
}
]
}
],
"meta": {
"api_version": 1,
"server_version": "0.19.4"
}
}Changes
- breaking
added
subschema #56to the///response propertyoneOflist for the response status
- breaking
- warning
added the new
DaemonDroppedSessionenum value to the//////response property for the response status - warning
added the new
DaemonOfflineenum value to the//////response property for the response status - warning
added the new
SessionSilentenum value to the//////response property for the response status
- warning