Aggregate entities of a graph database
POST/api/graph/graphdbs/:graphDBId/aggregate
Groups the entities of one type by a property and returns each value with its count. Supported on v2 graph databases only; v1 (deprecated) graph databases return 400.
Counts are limited to the entities the caller can read; administrators see all entities.
Requires the content-lake-api.graphs.read permission (or hxpr.manage.everything).
Request
Responses
- 200
- 400
- 401
- 415
The groups and their counts.
Invalid type, property or graph database.
Missing or invalid token, or the caller lacks the required permission.
Content-Type is not application/json.