Skip to main content

Bucket Data

Buckets are resources that store data points, and these data points have a specific JSON structure.

Every time new data points are sent to the Bucket, TagoCore validates the data point to make sure it has the correct JSON structure.

The JSON of a data point has the same structure as defined in our TagoIO Cloud platform, which is as follows:

{
"origin": "61be276db205c10019e6a218",
"variable": "temperature",
"value": 100,
"time": "2022-01-01T12:00:00Z",
"unit": "F",
"serie": "123456",
"metadata": {},
}

For more information on other common specifications, check out our API Overview.

Sending data

TagoCore uses the same standard as TagoIO Cloud when it comes to endpoints and HTTP requests.

To send data to a Bucket, you must send an HTTP POST request to the /data endpoint of TagoCore and use a Device Token as the token header.

To understand all the parameters and required fields, check out our API.

Retrieving data

There are two ways to visualize the data in your Bucket.

If you want to view all the details of the data points in your Bucket, you should send a GET request to the /data endpoint by using a Device Token in the header.

However, if you only want to get an overview of all the variables in your bucket, you can go to the Variables tab of your Bucket page.