Hello @syamala vishnuvajhala ,
Thanks for the question and using MS Q&A platform.
If you’re looking to build a custom entity and custom lineage, you’ll need to follow a few steps:
- You will need to define a custom type using the POST /typedef
- You will need to instantiate entities using that custom type. POST /entity/bulk
- You will need to instantiate a process entity with inputs and outputs. POST /entity
I’d encourage you to review the Purview REST API overview: Azure Purview REST API Deep Dive - YouTube
It leverages PyApacheAtlas as a means for getting started quickly with the Atlas API.
In addition, there are several samples on Github that would be useful for you:
- pyapacheatlas/create_type_definition.py at master · wjohnson/pyapacheatlas (github.com)
- pyapacheatlas/create_entity_and_lineage.py at master · wjohnson/pyapacheatlas (github.com)
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators