Hi all.... I'm trying to use curl to retrieve deta...
# getting-started
m
Hi all.... I'm trying to use curl to retrieve details on a dataset I added to datahub. No matter what I try, I always receive the message "You need to enable JavaScript to run this app". I'm running the following curl command:
Copy code
curl -H 'X-RestLi-Protocol-Version:2.0.0' -H 'X-RestLi-Method: get'  '<https://datahub.xxxxxxxx-nonprod-1.yyyyyyyy-datalake-nonprod.com.au/dataset/urn%3Ali%3Adataset%3A(urn%3Ali%3AdataPlatform:redshift,datalake.kayo_datalake_transform_current.ares_masterindex_daily_snapshot_view,DEV)/schema>'
I thought maybe I'm using the wrong endpoint, but curl for the config works fine:
Copy code
curl '<https://datahub.xxxxxxxx-nonprod-1.yyyyyyyy-datalake-nonprod.com.au/config>'
Does anyone have any ideas ?
l
@green-football-43791 ^
g
Hey Simon!
What sort of information are you trying to gather about the dataset specifically?
I would refer to the docs on fetch the aspects of an entity here:
This will show you what curl command you will want to run!