0

Still not possible to create a new file upload data source with API?

Hi

I was looking in the create datasource documentation for a connector for the file upload datasources and couldn't find anything suitable.

After that, I found a post from 2017 in this forum.

Citation:

"You can not create a new file upload data source. This will need to be created in the dashboard first. You can update it using the API with the PUT command:"

 

Is it still not possible to do this with the API? Are there plans to implement this in the future?

As an alternative, are there any other possibilities to push data over API with a datasource that can be created via API ?

 

Many thanks in advance for your feedback
Regards

Andreas

4 comments

  • 0
    Avatar
    Meggan King

    Hi Andreas,

    The only data sources you can create using the API are with a connector type listed here: 'box', 'comscore', 'db', 'dropbox', 'facebook', 'ftp', 'google_adwords', 'google_analytics', 'google_drive', 'google_spreadsheets', 'hubspot', 'iformbuilder', 'marketo', 'omniture', 'radian6', 'salesforce', 'searchMetrics', 'shopify', 'simple_rest', 'survey_monkey', 'versature', 'xero', 'xmla'

    https://apidocs.klipfolio.com/reference#section-post-datasources

     

    Once the data source is created, you can update it by setting the refresh rate to never, and then pushing the data over. 

     

    Is there a reason you want to create data sources via the API? If you are working with client accounts, there may be other solutions. Let me know more about your use case and I can make some suggestions. 

     

    Thanks

    Meggan

     

  • 0
    Avatar
    Andreas Meier

    Hi Meggan

    Thanks for your feedback!
    The reason is, that we want to keep manual configuration of data sources at a minimum in klipfolio. We can define new metrics in our software and when a new metric is pushed to klipfolio and the corresponding data source doesn't yet exist, it will be created through the klipfolio api. This would keep manual configuration at a minimum for us, while using the file upload "push" connector. That was the original idea.

    And yes, we want to work with client accounts.

    If you see any other possibilites, please let me know!

    Many Thanks
    Andreas

  • 0
    Avatar
    Meggan King

    Hi Andreas,

    The only idea I had was to take advantage of the import functionality and import data source into client accounts and this will create a new data source for you. You can then start using it to push new data. 

     

    Here is the API query that let's you import from one account and that will create a new data source in your client account, which you could then modify:

    https://apidocs.klipfolio.com/reference#section-post-datasources-id-import

     

    I understand wanting to keep manual configuration to a minimum, but to take advantage of these new data sources, won't you need to create Klips or PowerMetrics to use them? 

     

    Thanks

    Meggan

  • 0
    Avatar
    Andreas Meier

    Hi Meggan

    Yes sure we need the Klips. But it's really for the sake of keeping manual configuration at a minimum. But with https://apidocs.klipfolio.com/reference#klips-schema it seems that even Klips could be created via the API, right?

    Anyway many thanks! You answered my questions. If in the future you could add  the connector for "file upload" indeed it would be great!

    Thanks
    Andreas

Please sign in to leave a comment.