Ernie,

 

There is no plan to remove V1 APIs support. However, any new features added in 
Atlas will not be visible via V1 APIs – like relationship-types, 
tag-propagation, etc.

 

Thanks,

Madhan

 

 

 

From: Ernie Ostic <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, October 5, 2017 at 7:23 AM
To: "[email protected]" <[email protected]>
Subject: Re: Any equivalent to /entities in the /v2 API?

 

Thank you Madhan. Do we expect v1 to always be available, or are there future 
plans for its deprecation?

Thx!

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/

Madhan Neethiraj ---10/04/2017 11:42:00 PM---V1 REST API to get guids of a 
given entity-type (https://urldefense.proofpoint.com/v2/url?u=http-3A_

From: Madhan Neethiraj <[email protected]>
To: "[email protected]" <[email protected]>
Date: 10/04/2017 11:42 PM
Subject: Re: Any equivalent to /entities in the /v2 API?




V1 REST API to get guids of a given entity-type 
(http://localhost:21000/api/atlas/entities?type=Table) continues to work in 
current version as well. So, there shouldn’t be a need for an equivalent V2 API.

Most of bulk-retrieval APIs in V2 are geared towards UI usage, to reduce large 
number of calls to retrieve the details necessary to render in UI. A single V2 
API call would return enough details to render the results in UI; V1 APIs would 
require one additional REST API call for each guid returned.

BTW, V2 API to get entities of a given type would be: 
http://localhost:21000/api/atlas/v2/search/basic?typeName=Table&limit=123456. 
Please note that this call would return entities given typeName and its 
sub-types as well.


Madhan

From: Ernie Ostic <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Wednesday, October 4, 2017 at 5:01 AM
To: "[email protected]" <[email protected]>
Subject: Re: Any equivalent to /entities in the /v2 API?

I tend to like the v1 approach, as it is common with other REST api's, but I 
guess it can get a bit chatty, or else too generic when you (ultimately) have 
tens of thousands of instances of a given type....but this works. 

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/

Daniel Lee ---10/03/2017 01:07:01 PM---Thanks Ernie! Facepalm. Thanks! The 
documentation has it, but I was unable to penetrate

From: Daniel Lee <[email protected]>
To: [email protected]
Date: 10/03/2017 01:07 PM
Subject: Re: Any equivalent to /entities in the /v2 API?





Thanks Ernie!

Facepalm. Thanks! The documentation has it, but I was unable to penetrate it to 
obtain its meaning.

-dlee

On Fri, Sep 29, 2017 at 10:22 AM, Ernie Ostic <[email protected]> wrote: 

using your same asset type....this works fine in my recent build:

http://localhost:21000/api/atlas/v2/search/basic?query=Table

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/

"Ernie Ostic" ---09/29/2017 12:46:44 PM---Hi Daniel... I ran into a similar 
issue/concern several months ago, and with pointers

From: "Ernie Ostic" <[email protected]>
To: [email protected]
Date: 09/29/2017 12:46 PM
Subject: Re: Any equivalent to /entities in the /v2 API?





Hi Daniel...

I ran into a similar issue/concern several months ago, and with pointers from 
the rest of the team here, resolved it using:

http://localhost:21000/api/atlas/v2/search/basic?query=hive_table

Not exactly sure why the other was not made available in the v2 api, but 
perhaps someone can outline the thinking....

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/

Daniel Lee ---09/28/2017 04:30:24 PM---Hi guys, Is there an equivalent to the 
/entities query like:

From: Daniel Lee <[email protected]>
To: [email protected]
Date: 09/28/2017 04:30 PM
Subject: Any equivalent to /entities in the /v2 API?





Hi guys,

Is there an equivalent to the /entities query like:

curl -u XXX:XXX -X GET --header 'Accept: application/json' 
'http://localhost:21000/api/atlas/entities?type=Table

which gets me a list of guids to all Entities of type Table. The /v2/entity 
only seems to support uniqueAttribute and guid searches. Thanks!

Daniel Lee

 

Reply via email to