@ GET @ Path ( "/guid/{guid}" ) @ Consumes ( Servlets . JSON_MEDIA_TYPE ) @ Produces ( Servlets . JSON_MEDIA_TYPE ) public AtlasRelationship getById ( @ PathParam ( "guid" ) String guid ) throws AtlasBaseException { AtlasPerfTracer perf = null ; try { if ( AtlasPerfTracer . isPerfTraceEnabled ( PERF_LOG ) ) { perf = AtlasPerfTracer . getPerfTracer ( PERF_LOG , "RelationshipREST.getById(" + guid + ")" ) ; } return relationshipStore . getById ( guid ) ; } finally { AtlasPerfTracer . log ( perf ) ; } }
Get relationship information between entities using guid .