v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13132276.2 KB
users

Adds data points to a dataset. The dataset need not be previously created. All points within the given dataset will be returned with subsquent calls to retrieve this dataset. Data points can belong to more than one dataset. This method does not use patch semantics: the data points provided are merely inserted, with no existing data replaced.

patch/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}

Path parameters

userIdstring required

Patch a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.

dataSourceIdstring required

The data stream ID of the data source that created the dataset.

datasetIdstring required

This field is not used, and can be safely omitted.

Request body

dataSourceIdstring

The data stream ID of the data source that created the points in this dataset.

maxEndTimeNsstring int64

The largest end time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the second part of the dataset identifier.

nextPageTokenstring

This token will be set when a dataset is received in response to a GET request and the dataset is too large to be included in a single response. Provide this value in a subsequent GET request to return the next page of data points within this dataset.

minStartTimeNsstring int64

The smallest start time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the first part of the dataset identifier.

Response

Successful response