REST API - Not listing scans from main interface
I am trying to load the scans from the main interface using the REST API but it is returning an empty list. I was looking for another ticket like this one but I couldn't see anything similar.
API Request: http://API-Server/scans
API Response: {}
I have two scans created in the main web interface, maybe I have to link the database? I couldn't see any option for this on the help menu for the Rest API.
Sorry for the inconvenience! and Thanks for this tool!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tasos Laskos on 30 Aug, 2016 04:07 PM
Hello,
There is no "main" interface, they each manage their own scans and aren't connected to each other.
Cheers
Tasos Laskos closed this discussion on 30 Aug, 2016 04:07 PM.
APOL0 re-opened this discussion on 30 Aug, 2016 04:09 PM
2 Posted by APOL0 on 30 Aug, 2016 04:09 PM
Is there any way to link two interfaces to manage the same data? Example Web and Rest API?
Thanks!
Support Staff 3 Posted by Tasos Laskos on 30 Aug, 2016 04:10 PM
By design not, they're meant to be independent.
One is for users (web) and the other is for integration (REST and RPC) and just relies on Arachni without requiring a DB and other dependencies.
Tasos Laskos closed this discussion on 30 Aug, 2016 05:00 PM.