Community management endpoints
Communities are groups of entities that are connected to each other. They can be generated using a clustering and summarization algorithm implemented by R2R. To automatically generate communities from entities and relationships present in the graph, you can use the following endpoint:Method | Endpoint | Description |
---|---|---|
GET | /graphs/{collection_id}/communities/build | Create a new community |
Method | Endpoint | Description |
---|---|---|
GET | graphs/{collection_id}/communities | Get relationships for a graph |
POST | /graphs/{collection_id}/communities/{community_id} | Retrieve a community |
POST | /graphs/{collection_id}/communities/{community_id} | Update community |
DELETE | graphs/{collection_id}/communities/{community_id} | Delete community |