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.5"
  },
  "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": "8532b2c6-177b-43d4-a642-1664291e1e59",
              "rule": {
                "ByApplication": {
                  "tag_ids": []
                }
              }
            }
          ],
          "L2Physical": [
            {
              "id": "f58c6f34-a393-4ec1-95b9-e1b9a7c660cf",
              "rule": "ByHost"
            }
          ],
          "L3Logical": [
            {
              "id": "371885dc-e7ae-4334-8048-215fa1f39f28",
              "rule": "BySubnet"
            },
            {
              "id": "4057d725-762c-4359-ad1d-480317c67343",
              "rule": "MergeContainerBridges"
            }
          ],
          "Workloads": [
            {
              "id": "f58c6f34-a393-4ec1-95b9-e1b9a7c660cf",
              "rule": "ByHost"
            }
          ]
        },
        "element_rules": [
          {
            "id": "27f970b1-6b01-4fba-b39c-a9670f4b5aae",
            "rule": "ByTrunkPort"
          },
          {
            "id": "486ea5d2-ba7a-45fe-807f-a033a7a03bb2",
            "rule": "ByVLAN"
          },
          {
            "id": "0310e084-88aa-49e4-8150-efed7648b5f8",
            "rule": "ByPortOpStatus"
          },
          {
            "id": "3525cfe6-d41d-4bcd-a5b8-65fc90c4faac",
            "rule": {
              "ByServiceCategory": {
                "categories": [
                  "NetworkCore",
                  "NetworkAccess",
                  "RemoteAccess",
                  "Workstation",
                  "Mobile",
                  "Printer",
                  "OpenPorts"
                ],
                "is_infra_rule": true,
                "title": "Infrastructure"
              }
            }
          },
          {
            "id": "00b6fc0b-8a9f-4fc1-b830-0cd7b1027da0",
            "rule": {
              "ByTag": {
                "tag_ids": [],
                "title": null
              }
            }
          },
          {
            "id": "8539a0c1-6f0e-497b-9168-d6f23ec0e9e0",
            "rule": "ByHypervisor"
          },
          {
            "id": "6babb700-4a14-461a-add1-e45eb7886c4f",
            "rule": "ByContainerRuntime"
          },
          {
            "id": "648bbb42-61c9-4943-983b-bee9b5887d99",
            "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.5"
  },
  "success": true,
  "code": "string",
  "error": "string",
  "params": {
    "property1": null,
    "property2": null
  }
}