Hello, I am new to datahub. I want to ask somethin...
# getting-started
d
Hello, I am new to datahub. I want to ask something about GraphQL Api and Rest li Api. The two apis are all for interacting with entities & relationships comprising your metadata graph. I want to know exactly the difference of the two apis functionally.
b
Hi there! Welcome to DataHub
This should begin to capture it: https://datahubproject.io/docs/metadata-service#api-documentation In a nutshell, GraphQL is a semantic API that allows you to perform high-level actions liking adding / removing links, owners, tags, etc. Rest.li is a low level storage API for reading and writing the metadata models directly, reading and writing should generally be reserved for authorized users
In the long term, we intend GraphQL API to be the "public" API where you can fetch and update all entities, and traverse the relationships among them
d
Ok, thank you very much!