@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/asset-catalog/users/{userId}")
public class AssetCatalogRelationshipResource
extends Object
| Constructor and Description |
|---|
AssetCatalogRelationshipResource() |
| Modifier and Type | Method and Description |
|---|---|
RelationshipResponse |
getRelationshipBetweenEntities(String serverName,
String userId,
String entity1GUID,
String entity2GUID,
String relationshipType)
Fetch relationship between entities details based on its unique identifier of the ends
|
@GetMapping(path="/relationship-between-entities/{entity1GUID}/{entity2GUID}",
produces="application/json")
public RelationshipResponse getRelationshipBetweenEntities(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@PathVariable(value="entity1GUID")
String entity1GUID,
@PathVariable(value="entity2GUID")
String entity2GUID,
@RequestParam(name="relationshipType")
String relationshipType)
serverName - unique identifier for requested server.userId - String unique identifier for the userentity1GUID - Entity guid of the first end of the relationshipentity2GUID - Entity guid of the second end of the relationshiprelationshipType - Type of the relationshipCopyright © 2018–2019 ODPi. All rights reserved.