Hi all! How to attach tag to container via rest ap...
# troubleshoot
d
Hi all! How to attach tag to container via rest api not ui? Anybody knows?
m
If you look at the metadata model for the container here -> https://datahubproject.io/docs/generated/metamodel/entities/container you should get some idea. The
globalTags
aspect seems like the right one to add (https://datahubproject.io/docs/generated/metamodel/entities/container#globaltags)
d
OK, thak U!
b
@damp-minister-31834 The GraphQL API also has an "addTag" mutation you can use to do this: https://datahubproject.io/docs/graphql/mutations#addtag
d
Ok!