ScanopyScanopy
Discoveries

Get discovery by ID

GET
/api/v1/discovery/{id}
Authorization<token>

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

In: header

Path Parameters

id*string

Discovery ID

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/discovery/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"
    },
    "name": "string",
    "network_id": "d6797cf4-42b9-4cad-8591-9dd91c3f0fc3",
    "run_type": {
      "cron_schedule": "string",
      "enabled": true,
      "type": "Scheduled",
      "last_run": "2019-08-24T14:15:22Z"
    },
    "tags": [
      "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ],
    "created_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "error": "string"
}
{
  "success": true,
  "error": "string"
}