Hi, I am working on Klipfolio api. I am try get data source detail through api. I am able to get the list of data sources (https://app.klipfolio.com/api/1.0/datasources) through this api, but I am unable to get data source detail which i am using this api (https://app.klipfolio.com/api/1.0/datasource-instances/{id}/data). what is the way to get data source detail or anything else i need to do to get data source detail.
5 comments
-
Hi,
The second API call will give you the data within the data source. If you want to see the details, you'll want to use
GET https://app.klipfolio.com/api/1.0/datasource-instances/{id}
You can further customize this by adding ?full=true
GET https://app.klipfolio.com/api/1.0/datasource-instances/{id}?full=true
https://apidocs.klipfolio.com/reference#section-get-datasource-instances-id
Can you please try that and let me know if you still aren't seeing the specific details that you need?
Thanks
Meggan
-
Hi Meggan,
Thanks for co-operation but i am still not able to get the specific details. It always return null (i am using https://app.klipfolio.com/api/1.0/datasource-instances/id?full=true and https://app.klipfolio.com/api/1.0/datasource-instances/id/data). Can you suggest me the way to return actual data or i need to do other actions like permissions.
Thanks
-
Hi,
Did you replace the word id with the actual data source id? This query works correctly for me:
GET https://app.klipfolio.com/api/1.0/datasource-instances/3205e806eaab98dea52e91ef2xxxxxx?full=true
And here are a few of the properties it returns (the list is longer, this is just a sample)
What specific details are you trying to get?
Thanks,
- Meggan
-
Thanks Meggan,
Yeah i got the data as you said. But properties filed is empty. Actually I need this data from Klipfolio.
this data should be get from https://app.klipfolio.com/api/1.0/datasource-instances/{id}/data this api but this api always return null.
GET https://app.klipfolio.com/api/1.0/datasource-instances/3205e806eaab98dea52e91ef2xxxxxx?full=true this api return only properties like data size and so on.
Should it possible to get that data(which i mention in image).
Thanks
-
Hi,
Where or how are you running this API command? When you try this command in a tool like Postman, does it work to bring back data?
The request for data should work fine. I've tested it and confirmed this in my account. I'd suggest you open a support ticket with us and we can give you an example using the data source id and your api key. You can reach us at support@klipfolio.com. The team will need the data source id and your Klipfolio user api key.
Thanks,
Meggan