social-graph

Get Graph Distance

BFS traversal to find shortest relationship path between two users. Uses: friendships → circle co-membership → family_links Returns: distance, path_type, and a privacy-safe label.

distance 1: direct friend distance 2: friend of friend / shared circle distance 3: extended network distance 4+: effectively stranger

Privacy: path details are never returned — only distance and label. Used internally for trust scoring, matching, and graph-aware ranking.

get/api/social/graph-distance/{target_user_id}

Request

  • Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
  • URL: https://api.activitia.net/api/social/graph-distance/{target_user_id}
  • Auth: none declared

Path parameters

target_user_idstring required

Query parameters

max_depthinteger

Headers

authorizationstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.