DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 2790
Location: USA
Points: 21042

Post Posted: Tue Jan 17, 2017 10:28 am Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Unix
Is there any IGC REST API Explorer documentation existing, outside of the "helper" page?

"Helper" page URL: You can access InfoSphere Information Governance Catalog REST API at this URL: https://host_server:port_number/ibm/iis/igc-rest-explorer

My goal is to demo how to use the REST API to retrieve properties of an asset, such a term's short description.

I have made many attempts at submitting search requests to search on a single term so that I can find its RID. I got mostly unexpected results of getting the first page of 10 out of ALL matching 5000+ terms in every response.

Later I used a tool ( http://meyerweb.com/eric/tools/dencoder/ ) to decode the example request URLs in the search category. From the reverse-engineered examples I found some JSON lists that belong in the WHERE field. I finally got one of my own to work, but only by copying the example WHERE text.

Now I am wondering what are the possible combinations of properties and values I could enter into the WHERE field. I have not been able to find any documentation about this. The only help text on the screen says to enter a "JSON object describing conditions to be applied to search." It is certainly not intuitive what to enter and I never would have been able to figure it out on my own. I understand the JSON format, but how does one know what the options are?

This is an exercise in frustration. Is reverse-engineering the examples the only way to learn how to use this interface? Still, it doesn't tell you the possibilities.

_________________
Choose a job you love, and you will never have to work a day in your life. - Confucius
JRodriguez



Group memberships:
Premium Members

Joined: 19 Nov 2005
Posts: 413
Location: New York City
Points: 4531

Post Posted: Tue Jan 17, 2017 12:42 pm Reply with quote    Back to top    

IGC REST API: Tips, Tricks, and Time-savers

http://www-01.ibm.com/support/docview.wss?uid=swg27047054&aid=1

_________________
Julio Rodriguez
ETL Developer by choice

"Sure we have lots of reasons for being rude - But no excuses
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours