Retrieves a paginated list of asset relationships for an asset. You can use this operation to identify an asset's root asset and all associated assets between that asset and its root.
get/assets/{assetId}/assetRelationships#traversalType
Path parameters
assetIdstring required
The ID of the asset.
Query parameters
traversalType'PATH_TO_ROOT' required
<p>The type of traversal to use to identify asset relationships. Choose the following option:</p> <ul> <li> <p> <code>PATH_TO_ROOT</code> – Identify the asset's parent assets up to the root asset. The asset that you specify in <code>assetId</code> is the first result in the list of <code>assetRelationshipSummaries</code>, and the root asset is the last result.</p> </li> </ul>
nextTokenstring
The token to be used for the next set of paginated results.
maxResultsinteger
The maximum number of results to return for each paginated request.
Response
Success