Get resource relationships
Walks the diagram graph from the anchor resource and returns related resources. Edge traversal walks the diagram's link set (same-scheme guard, BFS, cycle-safe); group traversal walks the group membership set. The result list is capped at 200 relations; truncated is true when the cap is hit. Read-only: does not mutate diagram state.
Request
- Base URLhttps://api.doit.com
- URLhttps://api.doit.com/clouddiagrams/v1/statussheet/{id}/resources/{rid}/relationships
- Auth
- API key in header Authorization
- or API key in header X-Tenant-Id and API key in header Authorization
Path parameters
Diagram (layer) ID.
Anchor resource ID — must exist as a node, element, or group on the diagram.
Query parameters
Edge direction relative to the anchor. both returns upstream and downstream neighbours. Defaults to both.
direct returns one-hop neighbours; transitive runs a cycle-safe BFS to the connected component (still capped at 200 relations). Defaults to direct.
edges walks the link graph; group_members walks group membership (children and parent groups); both merges the two and dedupes by id, preserving the smallest observed hop count. Defaults to edges.
Response
OK - Related resources returned.
Changes
No recorded changes to this operation across all 1 revision of this API.