[ https://issues.apache.org/jira/browse/ATLAS-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286010#comment-17286010 ]
kirill edited comment on ATLAS-4162 at 2/18/21, 10:59 AM: ---------------------------------------------------------- Thank you so fast answer [~nixon] ! i opened this api doc [http://atlas.apache.org/api/v2/json_AtlasRelationshipDef.html] and example is empty !image-2021-02-17-20-24-55-915.png! please, shall i ask you to explain it to me ? thank you "invalid value: unknown relationship type'AtlasRelationshipDef' "invalid value: unknown relationship type'RelationshipDef' ----post curl -i -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -u admin:admin 'http://localhost:21000/api/atlas/v2/relationship' -d ' { "typeName" : "RelationshipDef", "end1" : { "guid" : "c674e564-4e75-4f7a-a9dc-043e49e85c65" } , "end2" : { "guid" : "48389bb1-cc6e-43bc-8834-fa6142333ae3" } } ' was (Author: kirill): Thank you so fast answer! i opened this api doc [http://atlas.apache.org/api/v2/json_AtlasRelationshipDef.html] and example is empty !image-2021-02-17-20-24-55-915.png! please, shall i ask you to explain it to me ? thank you "invalid value: unknown relationship type'AtlasRelationshipDef' "invalid value: unknown relationship type'RelationshipDef' ----post curl -i -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -u admin:admin 'http://localhost:21000/api/atlas/v2/relationship' -d ' { "typeName" : "RelationshipDef", "end1" : { "guid" : "c674e564-4e75-4f7a-a9dc-043e49e85c65" } , "end2" : { "guid" : "48389bb1-cc6e-43bc-8834-fa6142333ae3" } } ' > invalid value: unknown relationship type > ---------------------------------------- > > Key: ATLAS-4162 > URL: https://issues.apache.org/jira/browse/ATLAS-4162 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 3.0.0 > Reporter: kirill > Priority: Major > Attachments: image-2021-02-17-20-24-55-915.png > > > {"Description":"Metadata Management and Data Governance Platform over > Hadoop","Revision":"21b15842fd74bc91910b2d8901dbea57769065d0","Version":"3.0.0-SNAPSHOT","Name":"apache-atlas"} > > > > 'http://localhost:21000/api/atlas/v2/relationship' -d ' > { > "typeName": "Table", > "end1": { > "typeName": "Table", > "uniqueAttributes": { > "qualifiedName": "Table1" > } > }, > "end2": { > "typeName": "Table", > "uniqueAttributes": { > "qualifiedName": "Table2" > } > } > } > ' > > "invalid value: unknown relationship type' > -- This message was sent by Atlassian Jira (v8.3.4#803005)