REST API - Not listing scans from main interface

APOL0's Avatar

APOL0

30 Aug, 2016 04:04 PM

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!

  1. Support Staff 1 Posted by Tasos Laskos on 30 Aug, 2016 04:07 PM

    Tasos Laskos's Avatar

    Hello,

    There is no "main" interface, they each manage their own scans and aren't connected to each other.

    Cheers

  2. Tasos Laskos closed this discussion on 30 Aug, 2016 04:07 PM.

  3. APOL0 re-opened this discussion on 30 Aug, 2016 04:09 PM

  4. 2 Posted by APOL0 on 30 Aug, 2016 04:09 PM

    APOL0's Avatar

    Is there any way to link two interfaces to manage the same data? Example Web and Rest API?

    Thanks!

  5. Support Staff 3 Posted by Tasos Laskos on 30 Aug, 2016 04:10 PM

    Tasos Laskos's Avatar

    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.

  6. Tasos Laskos closed this discussion on 30 Aug, 2016 05:00 PM.

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