GET to /api/v1/analyze until the scan is in a state of: ABORTED, FAILED or FINISHED
It should continue to poll via GET (every second or two) until either it receives a key of error, a failed request, one of those three states, or ~300 seconds or so have elapsed.
Here's what should happen:
ABORTED
,FAILED
orFINISHED
It should continue to poll via GET (every second or two) until either it receives a key of
error
, a failed request, one of those three states, or ~300 seconds or so have elapsed.