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/ 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/ Inactive hide details for "Ernie Ostic" ---09/29/2017 12:46:44 PM---Hi Daniel... I ran into a similar issue/concern several mon"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/ Inactive hide details for Daniel Lee ---09/28/2017 04:30:24 PM---Hi guys, Is there an equivalent to the /entities query like: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
