Level X Graph
Draft
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.
Ths 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": 263283 }, { "nbObjects": 13, "name": "Communication Services", "_id": 263773 }, { "nbObjects": 5, "name": "Database Services", "_id": 263271 }, { "nbObjects": 83, "name": "Logic Services", "_id": 263275 }, { "nbObjects": 17, "name": "Output Services", "_id": 263772 } ], "links": [ { "origin": {"_id": 263283 }, "target": {"_id": 263275 } }, { "origin": {"_id": 263773 }, "target": {"_id": 263271 } }, { "origin": {"_id": 263773 }, "target": {"_id": 263275 } }, { "origin": {"_id": 263773 }, "target": {"_id": 263772 } }, { "origin": {"_id": 263772 }, "target": {"_id": 263275 } }, { "origin": {"_id": 263275 }, "target": {"_id": 263271 } } ] }
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