APIComponents
List component relationships
List active or historical component topology edges.
Query Parameters
projectId?string
Project containing the component topology. Auto-filled from CLI and SDK context when omitted.
Format
uuidincludeHistorical?|
Include historically ended relationships.
Default
falseResponse Body
application/json
curl -X GET "https://example.com/components/relationships"{ "relationships": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "source": { "originalComponentId": "8da40aea-e9e0-4c52-a4bc-adc9d86b9b0a", "effectiveComponentId": "bd43da35-fd44-4b7e-a480-6016d89b8e97", "name": "string", "lifecycle": "active", "observationState": "observed" }, "target": { "originalComponentId": "8da40aea-e9e0-4c52-a4bc-adc9d86b9b0a", "effectiveComponentId": "bd43da35-fd44-4b7e-a480-6016d89b8e97", "name": "string", "lifecycle": "active", "observationState": "observed" }, "relationshipType": "part_of", "createdAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "endReason": "string", "rowRevision": 0 } ]}