Level X Graph
Overview
Get all nodes of nth Level (Service Level) with connected nodes:
- For each node the number of objects groups is reported.
- The nodes are sorted by name.
- The links are sorted by origin name then by target name.
URI
GET /rest/applications/{name}/levels/{level}/graph
Path parameters
name (string)
This parameter identifies the analyzed application. The application name must be properly encoded if it is required. Character back-quote is not allowed.
level (integer)
The taxonomy level.
Responses
application/json
A list of nth level nodes and a list of nth level links. Example:
{
"nodes": [
{ "nbObjects": 1, "name": "Batch Services", "_id": "4:5df10ddf-d87b-43c8-95a7-a8c64041f193:4160764" },
{ "nbObjects": 13, "name": "Communication Services", "_id": "4:5df10ddf-d87b-43c8-95a7-a8c64041f193:4160723" },
{ "nbObjects": 5, "name": "Database Services", "_id": "4:5df10ddf-d87b-43c8-95a7-a8c64041f193:41607677" },
],
"links": [
{ "origin": {"_id": "4:5df10ddf-d87b-43c8-95a7-a8c64041f193:4160769" }, "target": {"_id": "4:5df10ddf-d87b-43c8-95a7-a8c64041f193:41607675" } },
{ "origin": {"_id": "4:5df10ddf-d87b-43c8-95a7-a8c64041f19389nwuf8987" }, "target": {"_id": "4:5df10ddf-d87b-43c8-95a7-a8c64041f193:4160788" } },
]
}
JSON representation
Property | Type | Description |
---|---|---|
nodes[].name | string | The nth level node name |
nodes[]._id | integer | A volatile and local ID to identify a node in the scope of this graph. This ID cannot be used as a path parameter for any URI. |
nodes[].nbObjects | integer | The total number of reachable objects |
links[].origin._id | integer | The graph ID of the origin node |
links[].target._id | integer | The graph ID of the target node |