Calculate the centrality metrics for a network
post/centrality
Calculates the centrality metrics of each object on a network.
1{2 "description": "An example of the response from /centrality showing the calculated metrics for each object on the network.",3 "value": {4 "name": "items",5 "accept": "application/vnd.sas.network.analytics.centrality.metrics",6 "items": [7 {8 "id": "policy#1",9 "degree": 2,10 "eigen": 1,11 "close": 1,12 "between": 1,13 "influence1": 0.6666666666666666,14 "influence2": 0.666666666666666615 },16 {17 "id": "claim#1",18 "degree": 1,19 "eigen": 0.7071067811865479,20 "close": 0.6666666666666666,21 "between": 0,22 "influence1": 0.3333333333333333,23 "influence2": 0.666666666666666624 },25 {26 "id": "claim#2",27 "degree": 1,28 "eigen": 0.7071067811865479,29 "close": 0.6666666666666666,30 "between": 0,31 "influence1": 0.3333333333333333,32 "influence2": 0.666666666666666633 }34 ]35 }36}
The request to /centrality for calculating the centrality metrics for the objects on a network. The network is represented by a collection of edges, that is, the relationships between the objects.
Name | Type | Required | Description |
---|---|---|---|
version | integer | false | The representation version (1). |
edges | array [object] | false | The edges in the network. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | OK. | Schema | |
400 | Bad Request | The request is malformed or contains invalid values. | Schema |