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.7"
  },
  "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": "6ea9ae36-f8b2-49ed-ab7b-193ae885d596",
              "rule": {
                "ByApplication": {
                  "tag_ids": []
                }
              }
            }
          ],
          "L2Physical": [
            {
              "id": "7cfbb1ba-8f38-4ce5-a62c-a286177ebb29",
              "rule": "ByHost"
            }
          ],
          "L3Logical": [
            {
              "id": "99cf1b1c-2a3f-4157-8791-e01b4693008a",
              "rule": "BySubnet"
            },
            {
              "id": "363e8c3d-8ef6-4397-9307-140f3cc81ea4",
              "rule": "MergeContainerBridges"
            }
          ],
          "Workloads": [
            {
              "id": "7cfbb1ba-8f38-4ce5-a62c-a286177ebb29",
              "rule": "ByHost"
            }
          ]
        },
        "element_rules": [
          {
            "id": "4dfde2a7-4e6e-4322-8cb6-d2dae4366aa8",
            "rule": "ByTrunkPort"
          },
          {
            "id": "59a91ef7-afb5-4418-b3eb-c77b0857e06b",
            "rule": "ByVLAN"
          },
          {
            "id": "1d2d215e-f989-457a-8eed-e8a5c8546bf5",
            "rule": "ByPortOpStatus"
          },
          {
            "id": "53e5ebfd-889f-4d57-b862-d29137b8f546",
            "rule": {
              "ByServiceCategory": {
                "categories": [
                  "NetworkCore",
                  "NetworkAccess",
                  "RemoteAccess",
                  "Workstation",
                  "Mobile",
                  "Printer",
                  "OpenPorts"
                ],
                "is_infra_rule": true,
                "title": "Infrastructure"
              }
            }
          },
          {
            "id": "ed130f88-b54b-444d-9268-14fe52deae41",
            "rule": {
              "ByTag": {
                "tag_ids": [],
                "title": null
              }
            }
          },
          {
            "id": "d5ceb8ca-480d-4e67-9077-91edd4b497ba",
            "rule": "ByHypervisor"
          },
          {
            "id": "6237c0f7-e260-4ef1-8d0b-714f9d075391",
            "rule": "ByContainerRuntime"
          },
          {
            "id": "61438088-64e5-44a8-8a0d-d2ed151d14aa",
            "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.7"
  },
  "success": true,
  "code": "string",
  "error": "string",
  "params": {
    "property1": null,
    "property2": null
  }
}