Connect to Io-base and access the “API Console” menu.
Click on the “Authorize” button, at the top right of the screen.
A pop-up appears with your available permissions. These are the permissions that were assigned to you when you logged into Io-base with your account.
Click Authorize.
You are now authenticated. Click on “Close”.
You can now explore the different possible requests on the page.
Let's take for example the "latest" request, which allows you to retrieve the latest value of a metric from the database.
Start by expanding the content of the tab documenting the request:
An example request body and documentation on the most common responses to the request are available:
Example request body :
Example common responses :
To send the request directly from this interface, click on “Try it out” :
Next, specify the datasource of the metric you want, fill in the body with the names of the metrics you want, and click on “Execute”.
You will then receive a response from the server:
Note: Just above the response, the complete request sent will be displayed