Statistics API Resource

HDC object statistics Web Service.

POST /statistics/links/json/{perspectiveId}

Get links statistics for the specified objects in the given perspective context method.

Example of request:

[{"classId":"104","objectId":"21673"},{"classId":"106","objectId":"28845"}]

Request Parameters
name type description default constraints
perspectiveId path The unique identifier of perspective.   long
status query If set to true - status mode is activated. false boolean
subtree query false boolean
Request Body
media type data type
*/* object
Response Body
media type data type description
application/json object JSON Response with the list of classes for all children with number of objects of each type.

Example of response:

{"list":[{"objectClass":"12","links":4}],"objectId":"90","classId":"11"}

GET /statistics/links/json/{perspectiveId}/{classId}/{objectId}

Get links statistics for the specified object in the given perspective context method.

Request Parameters
name type description default constraints
classId path The unique identifier of object class.   long
objectId path The unique identifier of object the statistics is concerned.   long
perspectiveId path The unique identifier of perspective.   long
status query If set to true - status mode is activated. false boolean
subtree query false boolean
Response Body
media type data type description
application/json object JSON Response with the list of classes for all children with number of objects of each type.

Example of response:

{"list":[{"objectClass":"12","links":4}],"objectId":"90","classId":"11"}