ScanopyScanopy
Topologies

Get Topology by ID

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

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

In: header

Path Parameters

id*string

Topology ID

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/topology/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "meta": {
    "api_version": 1,
    "server_version": "0.17.1"
  },
  "success": true,
  "data": {
    "network_id": "d6797cf4-42b9-4cad-8591-9dd91c3f0fc3",
    "options": {
      "local": {
        "bundle_edges": true,
        "hide_edge_types": [
          "Hypervisor"
        ],
        "no_fade_edges": false,
        "show_minimap": true,
        "tag_filter": {
          "hidden_host_tag_ids": [],
          "hidden_service_tag_ids": [],
          "hidden_subnet_tag_ids": []
        }
      },
      "request": {
        "container_rules": {
          "Application": [
            {
              "id": "6b4c4172-7fa2-42f0-9d2b-02e682eafb92",
              "rule": {
                "ByApplication": {
                  "tag_ids": []
                }
              }
            }
          ],
          "L2Physical": [
            {
              "id": "f5686c82-6d2c-47b6-bec1-06e5943db773",
              "rule": "ByHost"
            }
          ],
          "L3Logical": [
            {
              "id": "436bf1f7-fcbb-4e9d-a89d-c454669f18bf",
              "rule": "BySubnet"
            },
            {
              "id": "7079ad5e-5a37-44d7-ae00-3ec324ae6f7b",
              "rule": "MergeDockerBridges"
            }
          ],
          "Workloads": [
            {
              "id": "f5686c82-6d2c-47b6-bec1-06e5943db773",
              "rule": "ByHost"
            }
          ]
        },
        "element_rules": [
          {
            "id": "c108a992-c3ee-49ac-b6de-eab2f14c4146",
            "rule": "ByTrunkPort"
          },
          {
            "id": "829e9195-3c4a-4529-aa37-a53f98301dcc",
            "rule": "ByVLAN"
          },
          {
            "id": "a8bb475c-f215-4338-a905-722f2ba31aaf",
            "rule": "ByPortOpStatus"
          },
          {
            "id": "4a254791-8a66-4196-b201-86cc819564e8",
            "rule": {
              "ByServiceCategory": {
                "categories": [
                  "NetworkCore",
                  "NetworkAccess",
                  "RemoteAccess",
                  "Workstation",
                  "Mobile",
                  "Printer",
                  "OpenPorts"
                ],
                "is_infra_rule": true,
                "title": "Infrastructure"
              }
            }
          },
          {
            "id": "fc4054d8-ec3e-4cd2-a8e0-f778f7bbd2d2",
            "rule": {
              "ByTag": {
                "tag_ids": [],
                "title": null
              }
            }
          },
          {
            "id": "ae369740-1ce1-4a0a-8db2-38246c63c753",
            "rule": "ByHypervisor"
          },
          {
            "id": "6d97f089-93f9-47fd-be6e-af2b8f91664b",
            "rule": "ByContainerRuntime"
          },
          {
            "id": "84a18a68-41a8-41b5-9415-870962b59c0a",
            "rule": "ByStack"
          }
        ],
        "hide_entities": {},
        "hide_metadata_values": {
          "Application": {
            "Service": {
              "Category": [
                "OpenPorts"
              ]
            }
          },
          "L2Physical": {
            "Service": {
              "Category": [
                "OpenPorts"
              ]
            }
          },
          "L3Logical": {
            "Service": {
              "Category": [
                "OpenPorts"
              ]
            }
          },
          "Workloads": {
            "Service": {
              "Category": [
                "OpenPorts"
              ]
            }
          }
        }
      }
    },
    "created_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "updated_at": "2019-08-24T14:15:22Z"
  },
  "error": "string"
}
{
  "meta": {
    "api_version": 1,
    "server_version": "0.17.1"
  },
  "success": true,
  "code": "string",
  "error": "string",
  "params": {
    "property1": null,
    "property2": null
  }
}