Topologies
Update_topology
Authorization<token>
User API key (Bearer scp_u_...). Create in Platform > API Keys.
In: header
Path Parameters
id*string
Topology ID
Format
uuidRequest Body
application/json
network_id*string
The network this entity belongs to.
Format
uuidoptions*
Saved layout and view settings for this topology.
Response Body
application/json
application/json
curl -X PUT "https://app.scanopy.net/api/v1/topology/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "network_id": "d6797cf4-42b9-4cad-8591-9dd91c3f0fc3", "options": { "local": {}, "request": {} } }'{
"meta": {
"api_version": 1,
"server_version": "0.17.8"
},
"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": "dc21a29b-7131-4b48-bad5-5a282bca6677",
"rule": {
"ByApplication": {
"tag_ids": []
}
}
}
],
"L2Physical": [
{
"id": "51d9ea98-1a2e-4b11-b76a-79d310aa8e7e",
"rule": "ByHost"
}
],
"L3Logical": [
{
"id": "d9df80dd-b789-4559-8411-0357bd4ef598",
"rule": "BySubnet"
},
{
"id": "7e148b8b-7ed3-4f2a-878b-5f25291ba562",
"rule": "MergeContainerBridges"
}
],
"Workloads": [
{
"id": "51d9ea98-1a2e-4b11-b76a-79d310aa8e7e",
"rule": "ByHost"
}
]
},
"element_rules": [
{
"id": "385a9ae4-58a9-48e7-ba54-e70d7ab2e77d",
"rule": "ByTrunkPort"
},
{
"id": "7dc2c26d-b61d-4155-96c3-a3b156773356",
"rule": "ByVLAN"
},
{
"id": "6ec4bf66-3a5a-463b-aa94-ead00aaa8adb",
"rule": "ByPortOpStatus"
},
{
"id": "b127f3e4-df5f-494d-b46d-3b7ddd1cf611",
"rule": {
"ByServiceCategory": {
"categories": [
"NetworkCore",
"NetworkAccess",
"RemoteAccess",
"Workstation",
"Mobile",
"Printer",
"OpenPorts"
],
"is_infra_rule": true,
"title": "Infrastructure"
}
}
},
{
"id": "352bb33f-229a-49fd-b3d5-50125c2d97a3",
"rule": {
"ByTag": {
"tag_ids": [],
"title": null
}
}
},
{
"id": "276bf733-14bb-407b-8cc0-5e30e94d84eb",
"rule": "ByHypervisor"
},
{
"id": "2e81c39e-a42c-4c0f-abd5-3d81e013c24b",
"rule": "ByContainerRuntime"
},
{
"id": "0f9d5b2b-d661-4212-a66d-dc933eb44646",
"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.8"
},
"success": true,
"code": "string",
"error": "string",
"params": {
"property1": null,
"property2": null
}
}