Hi guys! I wanted to ask you, what would be the e...
# advice-metadata-modeling
a
Hi guys! I wanted to ask you, what would be the easiest way to create a new entity (pdl level) that can be attached to datasets like glossaryTerms? Is there a specific aspect for that, or is this governed by an other process, and not tightly attached to aspects? And in a hypothetical situation, where this is possible with aspects, could you give me an example REST request body to connect a dataset to an entity? Thank you in advance!
👀 1
a
Hi @agreeable-army-26750, sorry that this question slipped through the cracks- are you still curious here or were you able to discover the answer to your question?
a
Hi @astonishing-answer-96712 , no problem! I am still curious! 😄
a
The easiest way to do this is likely the graphQL API- https://datahubproject.io/docs/api/graphql/overview
If you’re set on REST, check out our OpenAPI schema, though the REST API is lower level and we generally recommend GraphQL for operations like the one you’re describing