Get Asset Relationships¶
Fetches the relationships for a specific asset.
Java client¶
AssetCatalog.java, method (more details in javadoc): RelationshipResponse getRelationshipBetweenEntities(String userId, String entity1GUID, String entity2GUID, String relationshipType) throws InvalidParameterException, PropertyServerException;
REST endpoint¶
GET {{base-url}}/servers/{{server-id}}/open-metadata/access-services/asset-catalog/users/{{user-id}}/asset-relationships/{{asset-guid}}?assetType={{asset-type}}&relationshipType={{relationship-type}}
serverName
- unique identifier for requested server
* userId
- the unique identifier for the user
* assetGUID
- the unique identifier for the asset
* assetType
- the type of the asset
* relationshipType
- the type of the relationship
* from
- offset
* pageSize
- limit the number of the assets returned
Response:
* RelationshipListResponse
- list of relationships for the given asset
More examples can be found in the sample collection.
Raise an issue or comment below