Get Connection Graph

Get Connection Graph

Get the connection graph for the specified object type

Request
URI
POST
https://{api_host}/api/ni/micro-seg/graph
COPY
Request Body

Graph Request

EntityCommunicationSummaryRequest of type(s) application/json
Required
{
    "scope": {
        "scope_type": "string",
        "entity_ids": [
            "string"
        ]
    },
    "group_by": "string",
    "time_range": {
        "start_time": 1597247025,
        "end_time": 1597247999
    }
}
scope
Optional

scope

string
group_by
Optional

group_by

time_range
Optional

time_range

Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns GraphResponse of type(s) application/json
{
    "nodes": [
        {
            "id": "string",
            "name": "string",
            "entityId": "string"
        }
    ],
    "edges": [
        {
            "srcId": "string",
            "dstId": "string"
        }
    ]
}
array of GraphNode
nodes
Optional

nodes

array of GraphEdge
edges
Optional

edges


400

Bad Request

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

details
Optional

details


401

Unauthorized

Operation doesn't return any data structure

500

Internal Error

Operation doesn't return any data structure