Thanks Madhan, but is it possible to get the referredEntities using the superType? As mentioned above in the example, I am trying to get referredEntities using the typeName: "DataSet" In this case it is returning None.
Best, *Verdan Mahmood* (+31) 655 576 560 On Wed, Apr 24, 2019 at 2:17 PM Madhan Neethiraj <[email protected]> wrote: > Verdan Mahmood, > > Using REST endpoint "POST /v2/search/basic", you can ask a set of entity > attributes to be included in the search result. For attributes that refer > to other entities (like hive_table.db), the entity-header details will be > added in result.referrredEntities. > > For example, to include "db" in the response of search for "hive_table", > the request would look like: > > POST /v2/search/basic > { > "typeName": "hive_table", > "attributes": [ "db" ] > } > > > Hope this helps. > > Madhan > > > > > On 4/24/19, 4:13 AM, "Verdan Mahmood" <[email protected]> wrote: > > Any help? How can I specify referredEntities i.e., db information in > the > table and make it available for the basic search? > > Best, > *Verdan Mahmood* > (+31) 655 576 560 > > > On Sun, Apr 14, 2019 at 10:16 PM Verdan Mahmood < > [email protected]> > wrote: > > > Hello Team, > > > > I've recently started working on the Apache Atlas, and when > exploring the > > REST APIs, I noticed that the documentation states that you'd also > get > > referredEntities when you use the Basic Search. But that's not the > case > > when I simply hit /api/atlas/v2/search/basic/?typeName=DataSet > > > > (Note: I've also tried with different entity type names.) > > > > Am I missing something, a parameter or something like that? or the > > documentation is outdated. > > > > > > > http://atlas.apache.org/api/v2/resource_DiscoveryREST.html#resource_DiscoveryREST_searchUsingBasic_GET > > > > At the moment, because of this, I need to find all the guid's from > basic > > search, and make a separate query to find bulk entities using those > guid's. > > -- > > Sent from my iPhone > > > > > >
