new module:api/DataSetApi(apiClient)
- Source:
Constructs a new DataSetApi.
Parameters:
| Name | Type | Description |
|---|---|---|
apiClient |
module:ApiClient | Optional API client implementation to use, |
Methods
getStream(version, dataSetName, optsOrCallback, callback)
- Source:
Gets customer event data for an organization.
Gets customer event data for the organization that owns the integration key.
The results for this endpoint are paginated by event timestamp. Use the cursor parameter to specify where the query begins in the dataset. Use the limit parameter to set the number of records returned.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
version |
String | Must be |
|||||||||
dataSetName |
String | Must be |
|||||||||
optsOrCallback |
Object | Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely. Properties
|
|||||||||
callback |
module:api/DataSetApi~getStreamCallback | The callback function, accepting three arguments: error, data, response |
Type Definitions
getStreamCallback(error, data, If)
- Source:
(Optional) Callback function to receive the result of the getStream operation. If none specified a Promise will be returned.
Parameters:
| Name | Type | Description |
|---|---|---|
error |
String | Error message, if any. |
data |
module:model/CursoredResult | The data returned by the service call. |
If |
String | a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data. |