Hello! Tell me, please, how can I get metadata val...
# getting-started
v
Hello! Tell me, please, how can I get metadata values through graphql if I know the schema?
g
Hi, are you from VTB Hackathon? 😅
m
@victorious-stone-56510: start here -> https://datahubproject.io/docs/api/graphql/overview
is there a specific thing you wanted to get?
v
@mammoth-bear-12532 I can get schema but I don`t know how get value that placed in this field, Example: field: userId in users dataset, i can get it when get schema but how get values from this field?
m
Do you mean the sample values of userId?
Or actual query against the data
b
You'll need to use the dataProfiles field to extract the profile (stats, sample values) for the Dataset. You can then simply lookup the corresponding column profile by its path