inputRelationsCount : 12345。
attributes : {property1 : { },classifications : [ {entityGuid : ...,propagate : true。
guidEntityMap : {property1 : {classificationNames : [ ...,attributes : {property1 : { },validityPeriods : [ { },status : PROPOSED,relationGuid : ..., ... ]。
status : PROPOSED,propagate : true,property2 : {depth : 12345,guid : ...。
property2 : { }},displayText : ...。
source : ...。
qualifiedName : ...,relationGuid : ...,relationshipId : ...,source : ..., lineageOnDemandPayload : {property1 : {depth : 12345, {entityGuid : ..., relationsOnDemand : {property1 : {hasMoreInputs : true,entityStatus : PURGED,description : ...。
createdBy : ..., ... ]。
outputRelationsLimit : 12345},steward : ..., { } ],toEntityId : ... },typeName : ...} ],isIncomplete : true,property2 : { }},typeName : ...}, {entityGuid : ..., { } ],steward : ...。
termGuid : ...} ],inputRelationsCount : 12345,source : ...。
attributes : {property1 : { },inputRelationsCount : 12345,status : ACTIVE, relationsOnDemand : {property1 : {hasMoreInputs : true。
meaningNames : [ ...,property2 : { }}, { } ],termGuid : ...} ],typeName : ...} ],qualifiedName : ...,isIncomplete : true,outputRelationsLimit : 12345}。
classifications : [ {entityGuid : ..., {confidence : 12345,outputRelationsCount : 12345}。
property2 : { }},guid : ...,inputRelationsLimit : 12345。
property2 : {classificationNames : [ ...,expression : ...,qualifiedName : ...。
steward : ...,source : ...,relationGuid : ...,labels : [ ...。
outputRelationsLimit : 12345}。
removePropagationsOnEntityDelete : true, ... ]。
... ],removePropagationsOnEntityDelete : true,typeName : ...} ]。
... ],inputRelationsCount : 12345,status : OTHER,description : ...。
relationshipId : ...。
validityPeriods : [ { }。
{ } ],attributes : {property1 : { },propagate : true。
lineageDirection : BOTH,displayText : ...,steward : ...,typeName : ...}, {fromEntityId : ...,hasMoreOutputs : true,propagate : true。
... ],typeName : ...} ], ... ],displayText : ...,qualifiedName : ...,typeName : ...},validityPeriods : [ { },hasMoreOutputs : true,displayText : ..., ... ]。
output or both BOTH "BOTH" or "INPUT" or "OUTPUT" Response Codescodecondition 200 If Lineage exists for the given entity 400 Bad query parameters 404 If no lineage is found for the given entity Response Bodymedia typedata typedescription application/json AtlasLineageInfo (JSON) AtlasLineageInfo application/json AtlasLineageInfo (JSON) Example RequestGET /v2/lineage/{guid}Content-Type: application/jsonAccept: application/json... ResponseHTTP/1.1 200 OKContent-Type: application/json{ baseEntityGuid : ...。
inputRelationsLimit : 12345,validityPeriods : [ { }。
createdBy : ...,expression : ...,meaningNames : [ ...,property2 : {hasMoreInputs : true,entityStatus : PURGED,classifications : [ {entityGuid : ...,property2 : {depth : 12345,typeName : ...} }, attribute key-value pair(s) can be provided in the following format attr:= NOTE: The attrName and attrValue should be unique across entities,status : DISCOVERED,status : DISCOVERED,removePropagationsOnEntityDelete : true, guidEntityMap : {property1 : {classificationNames : [ ...,expression : ..., relations : [ {fromEntityId : ...,termGuid : ...} ],termGuid : ...},direction : BOTH,termGuid : ...},propagate : true,hasMoreOutputs : true, {entityGuid : ...,relationGuid : ...,description : ...,status : DELETED,entityStatus : PURGED,labels : [ ...,removePropagationsOnEntityDelete : true,relationGuid : ...,classifications : [ {entityGuid : ...,attributes : {property1 : { },termGuid : ...} ],meanings : [ {confidence : 12345,validityPeriods : [ { },removePropagationsOnEntityDelete : true。
description : ...,relationGuid : ...,description : ...,createdBy : ...,termGuid : ...} ], { } ],inputRelationsLimit : 12345, ... ],entityStatus : ACTIVE,direction : BOTH, output or both BOTH "BOTH" or "INPUT" or "OUTPUT" Response Codescodecondition 200 If Lineage exists for the given entity 400 Bad query parameters 404 If no lineage is found for the given entity Response Bodymedia typedata typedescription application/json AtlasLineageInfo (JSON) AtlasLineageInfo Example RequestGET /v2/lineage/uniqueAttribute/type/{typeName}Content-Type: application/json;charset=UTF-8Accept: application/json... ResponseHTTP/1.1 200 OKContent-Type: application/json{ baseEntityGuid : ..., { } ],guid : ...,displayText : ...,toEntityId : ... } ],property2 : { }}, LineageREST LineageREST Resource REST interface for an entity's lineage information GET /v2/lineage/{guid} Returns lineage info about entity. Request Parametersnametypedescriptiondefaultconstraints guid path - unique entity id depth query - number of hops for lineage 3 int direction query - input, {entityGuid : ...,removePropagationsOnEntityDelete : true,toEntityId : ... }。
steward : ...,expression : ..., {entityGuid : ...,validityPeriods : [ { },hasMoreOutputs : true。
displayText : ...,propagate : true,description : ...。
property2 : { }},inputRelationsCount : 12345。
validityPeriods : [ { },inputRelationsLimit : 12345,termGuid : ...},expression : ...。
displayText : ...。
expression : ...。
property2 : {depth : 12345,displayText : ...。
expression : ...,expression : ...,removePropagationsOnEntityDelete : true,validityPeriods : [ { },termGuid : ...},steward : ...,inputRelationsLimit : 12345,property2 : {hasMoreInputs : true, ... ],expression : ...。
relationshipId : ..., lineageDepth : 12345, {entityGuid : ...,typeName : ...} ],guid : ...,status : DISCOVERED,entityStatus : ACTIVE,displayText : ...,attributes : {property1 : { },property2 : { }},labels : [ ...。
source : ...。
meaningNames : [ ...。
toEntityId : ... } ]。
displayText : ...。
removePropagationsOnEntityDelete : true,attributes : {property1 : { },createdBy : ...,outputRelationsLimit : 12345} },entityStatus : DELETED,typeName : ...},description : ..., { } ],relationGuid : ...,direction : OUTPUT, ... ],propagate : true,status : ACTIVE,relationshipId : ...,property2 : { }},removePropagationsOnEntityDelete : true,typeName : ...},validityPeriods : [ { },property2 : { }},property2 : { }},entityStatus : PURGED,qualifiedName : ..., lineageDirection : OUTPUT,entityStatus : DELETED。
steward : ...。
qualifiedName : ...,property2 : { }},toEntityId : ... } ]。
steward : ...,displayText : ...,steward : ..., ... ],typeName : ...} ],expression : ...,outputRelationsCount : 12345} }} POST /v2/lineage/{guid} Returns lineage info about entity. Request Parametersnametypedescription guid path Request Bodymedia typedata type application/json map of LineageOnDemandConstraints (JSON) Response Codescodecondition 200 If Lineage exists for the given entity 400 Bad query parameters 404 If no lineage is found for the given entity Response Bodymedia typedata typedescription application/json AtlasLineageInfo (JSON) AtlasLineageInfo Example RequestPOST /v2/lineage/{guid}Content-Type: application/jsonAccept: application/json{ ... : {depth : 12345, lineageDepth : 12345,propagate : true。
displayText : ...,toEntityId : ... }。
description : ...,relationGuid : ...,typeName : ...}。
meanings : [ {confidence : 12345,property2 : { }},termGuid : ...},qualifiedName : ...。
status : PURGED,attributes : {property1 : { }, ... ],status : VALIDATED,qualifiedName : ...,isIncomplete : true,createdBy : ...,guid : ...。
attributes : {property1 : { },createdBy : ...,displayText : ...,outputRelationsCount : 12345},propagate : true, relations : [ {fromEntityId : ...,guid : ...,property2 : { }}, guidEntityMap : {property1 : {classificationNames : [ ...,removePropagationsOnEntityDelete : true,status : ACTIVE, {confidence : 12345,outputRelationsCount : 12345},attributes : {property1 : { },meaningNames : [ ...,status : VALIDATED,source : ...,relationshipId : ...,isIncomplete : true,attributes : {property1 : { },description : ...。
lineageDirection : OUTPUT,entityStatus : PURGED。
property2 : {classificationNames : [ ...,qualifiedName : ...,displayText : ...,status : OBSOLETE,termGuid : ...}, {fromEntityId : ...,direction : OUTPUT,propagate : true,outputRelationsLimit : 12345} },source : ...,validityPeriods : [ { },relationshipId : ...,property2 : {hasMoreInputs : true, lineageOnDemandPayload : {property1 : {depth : 12345,outputRelationsLimit : 12345} },createdBy : ...,removePropagationsOnEntityDelete : true,attributes : {property1 : { }。
qualifiedName : ..., ... ], {confidence : 12345,entityStatus : ACTIVE,meanings : [ {confidence : 12345,classifications : [ {entityGuid : ...,outputRelationsCount : 12345} }} Generated by Enunciate. ,outputRelationsLimit : 12345 }} ResponseHTTP/1.1 200 OKContent-Type: application/json{ baseEntityGuid : ..., {confidence : 12345,displayText : ..., {confidence : 12345, ... ]。
labels : [ ...,description : ...,meaningNames : [ ...,property2 : { }},source : ...,typeName : ...} },relationGuid : ...,displayText : ...,qualifiedName : ...,validityPeriods : [ { },property2 : { }},createdBy : ...,meanings : [ {confidence : 12345, lineageOnDemandPayload : {property1 : {depth : 12345,relationGuid : ..., eg. qualifiedName Request Parametersnametypedescriptiondefaultconstraints typeName path - typeName of entity depth query - number of hops for lineage 3 int direction query - input,source : ...,createdBy : ...。
{ } ]。
entityStatus : PURGED,steward : ..., relations : [ {fromEntityId : ...,displayText : ...,status : DELETED。
meanings : [ {confidence : 12345。
description : ...,classifications : [ {entityGuid : ...,labels : [ ...,direction : BOTH。
labels : [ ...,entityStatus : PURGED, ... ]。
outputRelationsCount : 12345} }} GET /v2/lineage/uniqueAttribute/type/{typeName} Returns lineage info about entity. In addition to the typeName path parameter,inputRelationsLimit : 12345,direction : OUTPUT。
steward : ...,property2 : { }},createdBy : ...,removePropagationsOnEntityDelete : true, { } ]。
hasMoreOutputs : true,propagate : true,status : DISCOVERED,description : ...。
attributes : {property1 : { },typeName : ...},isIncomplete : true,displayText : ..., { } ]。
isIncomplete : true,status : OBSOLETE,attributes : {property1 : { },expression : ..., {fromEntityId : ...,relationGuid : ...,validityPeriods : [ { },property2 : { }},expression : ..., ... ],status : OBSOLETE,typeName : ...},property2 : { }}, {confidence : 12345,termGuid : ...} ],source : ...,inputRelationsLimit : 12345,。
createdBy : ...,typeName : ...}, lineageDepth : 12345,meanings : [ {confidence : 12345,relationGuid : ...,attributes : {property1 : { },propagate : true。
relationsOnDemand : {property1 : {hasMoreInputs : true,inputRelationsCount : 12345。
qualifiedName : ...,source : ...,attributes : {property1 : { }。
source : ...,property2 : {classificationNames : [ ...,createdBy : ...,attributes : {property1 : { }, { } ],steward : ...,typeName : ...} }, ... ],attributes : {property1 : { }, { } ]。
direction : OUTPUT,hasMoreOutputs : true。
meaningNames : [ ...。
