resthadoophortonworks-data-platformapache-atlas

Apache Atlas Rest Api


Im trying to read an Atlas entitiy via rest api, i tried this command :

curl -v -i -s -X GET user:pwd@something.confidential.here:21000/v1/entities/branch_intersect

Although i can see the table in Apache UI but it says not found :

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /v1/entities/branch_intersect. Reason:
<pre>    Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

</body>
</html>

Im using Atlas v 0.7 and following this doc


Solution

  • The rest url should be like this :

    curl -v -i -s -X GET user:pwd@something.confidential.here:21000/api/atlas/
    

    Reference here