Hi, I’m looking for most simplistic way to create ...
# troubleshoot
b
Hi, I’m looking for most simplistic way to create Business Glossary for Datahub POC, I wat thinking about using some api call but in documentation I’m missing example for creating of Business sines Glossary Term like for example for datasets, groups and so on: https://github.com/linkedin/datahub/blob/2c5edd88abfeafa4400b2601f7debc5cde5a1bfb/metadata-service/README.md, do you know guys if this is an option for now?
1
❤️ 1
Ok, I managed to do it using api documentation, here’s an example if anyone is interested:
Copy code
curl '<http://localhost:8080/entities?action=ingest>' -X POST --data '{
   "entity":{
      "value":{
         "com.linkedin.metadata.snapshot.GlossaryTermSnapshot":{
            "urn":"urn:li:glossaryTerm:instruments.FinancialInstrument_v1",
            "aspects":[
               {
                 "com.linkedin.glossary.GlossaryTermInfo":{
                    "definition":"written contract that gives rise to both a financial asset of one entity and a financial liability of another entity",
                    "customProperties":{
                       "FQDN":"full"
                    },
                    "sourceRef":"FIBO",
                    "sourceUrl":"<https://spec.edmcouncil.org/fibo/ontology/FBC/FinancialInstruments/FinancialInstruments/FinancialInstrument>",
                    "termSource":"EXTERNAL"
                        }

                     }
            ]
         }
      }
   }
}'