Hi, I'm new to DataHub, I'm exploring on how to ge...
# getting-started
s
Hi, I'm new to DataHub, I'm exploring on how to get list of domains through curl, have tried multiple combination, nothing has worked since last Tuesday, Can someone help me on this ?
✅ 1
h
Try this : curl --location --request POST 'https://demo.datahubproject.io/api/graphql' \ --header 'Content-Type: application/json' \ --data-raw '{ "query": "query listDomains { listDomains(input: { start: 0, count : 100 }) {start,count,total,domains {urn,properties{name}}} }", "variables":{}}'
You also can try this Graphql
query listDomains {
listDomains (input: { start: 0, count : 100 })
{
start,
count,
total,
domains {
urn,
properties{
name
}
}
}
`}`at https://demo.datahubproject.io/api/graphiql
s
@handsome-easter-39055 It worked !!! Thanks a lot Man.