ScanopyScanopy
Discoveries

List all discoveries

GET
/api/v1/discovery
Authorization<token>

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

In: header

Query Parameters

network_id?string|null

Filter by network ID

Formatuuid
daemon_id?string|null

Filter by daemon ID

Formatuuid
limit?integer|null

Maximum number of results to return (1-1000, default: 50). Use 0 for no limit.

Formatint32
Range0 <= value <= 1000
offset?integer|null

Number of results to skip. Default: 0.

Formatint32
Range0 <= value

Response Body

application/json

curl -X GET "https://loading/api/v1/discovery"
{
  "data": [
    {
      "created_at": "2019-08-24T14:15:22Z",
      "daemon_id": "0f0cd6bf-ac90-457b-aa3f-6f24990d5ff6",
      "discovery_type": {
        "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
        "type": "SelfReport"
      },
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "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"
      ],
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "meta": {
    "api_version": 1,
    "pagination": {
      "has_more": true,
      "limit": 50,
      "offset": 0,
      "total_count": 142
    },
    "server_version": "0.13.5"
  },
  "success": true,
  "error": "string"
}