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

JSON representation

Property Type Description
nodes[].name string The nth level node name
nodes[].fullName string The nth level node fullName
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[].origin.name integer The name of the origin node
links[].origin.fullName integer The fullName of the origin node
links[].target._id integer The graph ID of the target node
links[].target.name integer The name of the target node
links[].target.fullName integer The fullName of the target node