Hi Ernie,
This seems to work (I did a search in the UI and looked at the flows):
curl --user admin:admin -H "Content-Type: application/json" -X GET -d
'{"typeName":"hbase_table"}'
http://127.0.0.1:21000/api/atlas/v2/search/basic
I am not sure if this is a supported API; as I could not find this
documented; the search/basic endpoint is not documented in the Swagger
http://atlas.incubator.apache.org/api/v2/index.html.
I notice that QuickStartV2Client, the first DSL example is a query just
with the typename in it - so this should work.
all the best, David.
From: "Ernie Ostic"
To: atlas
Date: 09/03/2017 22:32
Subject:question on the new V2 api...
Hi all...
In the v2 API, is there an equivalent to the legacy APIs "entities" call
for a list of instances for a particular type? Such as:
http://server:21000/api/atlas/entities?type=Table
This is an easy way to process whole listings of a particular type further
in the code.I suspect there may be a way to do this with the v2
search,
but I haven't been able to figure it out. Alternative question --- is the
legacy API going to be formally deprecated and removed, or will it remain
available for applications already written?
Thank you.
Ernie
Ernie Ostic
Worldwide Technical Sales
InfoSphere Information Server
IBM Analytics
Cell: (617) 331 8238
---
Open IGC is here!
Extend the Catalog with custom objects and lineage definitions!
https://dsrealtime.wordpress.com/2015/07/29/open-igc-is-here/
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU