With the Data Cube GET API, you can send a GET request to Data Cube to retrieve data from a data source.
Before You Begin
-
You must create at least one data source in Data Cube. For more information, see Data Cube Data Connectors.
-
You must have an application to send RESTful API requests to Data Cube.
-
You must obtain an authentication token from the Web Console web service using the POST Login API. For more information, see REST API - Authentication: POST Login.
Procedure
-
In a Web browser, log in to the Web Console, and then click Analytics.
-
In the left pane, click the connector group to view the data sources for that connector.
-
On the Data Sources (connector) page, click the name of the data source you want to view.
-
In the upper right of the page, click REST API.
-
In the GET request section, in the Response Format list, select the desired format of the response.
-
In the gray syntax box, copy the request header details, and then in your REST client application, paste then into a GET request.
Note
You must include the authentication token that you obtained from the POST Login API for the Web Console web service. For more information, see REST API - Authentication: POST Login.
-
Send the GET request and wait for the response.