Datto : Setting up API Data Source #124
Replies: 2 comments 8 replies
-
Hey, From the datto doc I understand it require OAUTH workflow. The plugin doesn't support outh workflow to fetch a token. Plugin only supports username/password authentication or header based authentication. I don't have any datto account to test. So I might be completley wrong. |
Beta Was this translation helpful? Give feedback.
-
I got this to work by first setting up authentication in postman. You can use Postman's console to check the header it sends when you send a request to Datto's API. I went to my Infinity data source and added a header titled "Authentication" with the value set to "Bearer MYAPIKEY". It'll work until the key expires. What I can't seem to do, is create a time series out of the information Datto sends back. |
Beta Was this translation helpful? Give feedback.
-
I'm going to start out by apologising as I'm completely out of my depth here but refuse to give up.
I have various systems im trying to pull together and grafana with Infinity seems to be able to provide exactly what I'm after however my lack of ability is preventing me moving forward.
An example I use Datto
They provide me the following.
API URL
API Key
API Secret
All of the variables required to pull data.
I seem completely unable to even authenticate to the API, I can get it working correctly in postman just no in Infinity.
If anyone can point me in the right direction I'd be so greatful!
Do I I need basic auth? Headers defined? I'm so clueless.
Thanks to anyone who has the patience to help me :)
Beta Was this translation helpful? Give feedback.
All reactions