ScanopyScanopy
Discoveries

Start a discovery session

POST
/api/v1/discovery/start-session
Authorization<token>

User API key (Bearer scp_u_...). Create in Platform > API Keys.

In: header

Request Body

application/json

body*string
Formatuuid

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/discovery/start-session" \  -H "Content-Type: application/json" \  -d '497f6eca-6276-4993-bfeb-53cbbbba6f08'
{
  "meta": {
    "api_version": 1,
    "server_version": "0.13.5"
  },
  "success": true,
  "data": {
    "daemon_id": "0f0cd6bf-ac90-457b-aa3f-6f24990d5ff6",
    "discovery_type": {
      "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
      "type": "SelfReport"
    },
    "network_id": "d6797cf4-42b9-4cad-8591-9dd91c3f0fc3",
    "phase": "Pending",
    "progress": 0,
    "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
    "error": "string",
    "finished_at": "2019-08-24T14:15:22Z",
    "started_at": "2019-08-24T14:15:22Z"
  },
  "error": "string"
}
{
  "success": true,
  "error": "string"
}