How to connect to any database through api?
2 comments
-
If you you are looking for information about Klipfolio integration with SQL databases, you can learn about that here https://support.klipfolio.com/hc/en-us/articles/215547018-How-do-I-create-an-SQL-database-data-source
-
Hi There,
Are you trying to connect to your database for the first time? If so, we have this document which should help: https://support.klipfolio.com/hc/en-us/articles/215547018-How-do-I-create-an-SQL-database-data-source-
If you are hoping to create new data sources using the Klipfolio API, then it is best to work from an existing data source you've already created.
Find a database data source in your library and then use the API to get the details for it.
To get all of the properties, you can add ?full=true
GET https://app.klipfolio.com/api/1/datasources/{id}?full=true
Then you can use the response to make a template for creating new data sources using the POST command.
These API endpoints will help you:
http://apidocs.klipfolio.com/reference#section-get-datasourcesid
http://apidocs.klipfolio.com/reference#section-post-datasources
I hope this helps. If you have any additional questions please let us know.
- Meggan