G

7 Messages

 • 

205 Points

Friday, April 26th, 2024 2:16 AM

Output Module API vs Knowledge Graph API

I'm looking to understand the difference between Output Module API & the newly available Knowledge Graph API. I've been using the Output Module API for a long time and it uses REST architectural style (Still a graph-based query) and the Knowledge Graph API uses GraphQL architectural style. So the query format changes.

Apart from that, are there any differences between them?  Advantages and Disadvantages?

63 Messages

 • 

1.4K Points

11 days ago

Knowledge Graph has a few advantages over Output Module that you may have noticed:

Introspection – Ask Knowledge Graph what to query in your API editor (This reduces the need for you to know the GraphQL language and names of objects in Collibra) 

Guided error handling – Obtain information on potential errors in your queries (API editing tools like Postman will show you this as you write your query, in real time)

Knowledge Graph also used the same base URI for all requests. So, you don't have to mess around with that as much when you are preparing to query.

Overall, all these things amount to needing much less developer expertise to get the queries you want. It's a very user-friendly querying tool. Output Module can still be helpful if you want your initial output to be CSV, Excel, or XML. I think Knowledge Graph only outputs as JSON.

(edited)

Loading...