Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to associate an attribute/Column to a Tag in Atlas using Rest Api ?

avatar
Expert Contributor

In our org, We are trying to automate the process of tagging Attributes(Hive Column, Table e.t.c). I can create tags using Rest Api. What i am not getting is, How to associate a column to a tag. Any advice will be a great help !!

Thanks in advance,

Subash

1 ACCEPTED SOLUTION

avatar
@subash sharma

Please refer to the "Associating Trait Instances to Entities" section under this technical user guide usage guide provided here: http://atlas.incubator.apache.org/AtlasTechnicalUserGuide.pdf

This will give an example of how to associate a trait/tag to an entity using REST API.

View solution in original post

3 REPLIES 3

avatar
@subash sharma

Please refer to the "Associating Trait Instances to Entities" section under this technical user guide usage guide provided here: http://atlas.incubator.apache.org/AtlasTechnicalUserGuide.pdf

This will give an example of how to associate a trait/tag to an entity using REST API.

avatar
@subash sharma

Is this issue resolved?

avatar
Expert Contributor

@Ayub Khan Sort of, I am able to associate one entity/attibute to a trait at a time and to do that i am doing an iterative process and the process is time consuming. Can't we bulk upload/update tagged columns/entities in one go.

For example :

guid_1 public

guid_2 private

guid_3 public

please let me know the curl command to do bulk update. I have gone through the whole Doc, Haven't found any!