Bitpool Cloud Platform
Web services to collect, manage and visualise IoT solutions
Last updated
Web services to collect, manage and visualise IoT solutions
Last updated
Bitpool-Cloud, or more commonly known as just Bitpool, is a web-based platform used to collect, manage and visualise Internet of Things
(IoT) data.
At its core, Bitpool has its roots in Amazon
Web Services as a data warehouse. It stores billions of time-stamped IoT data which is wrapped with a REST API
web service, allowing authorized users the ability to push and pull data from customer edge networks.
Bitpool also provides a rich user experience via its web portal, where users can manage and visualize their data using customisable dashboards.
Get more information here to experience what Bitpool Cloud can offer.
The following technical information relates to the Bitpool REST API.
To better understand how the API is structured, we have created a real-world analogy to help represent the critical building blocks in our system.
When we think of the ecological cycle of water as it moves around our planet, rain falls to earth creating streams, which run down into pools, which later form into lakes.
rain droplet
- a single time-stamped data interval, aka Bitpool Interval
stream of water
- a group of time-stamped data intervals, aka Bitpool Stream (logs)
pool
- a group of streams, aka Bitpool Pool
lake
- a group of pools, aka Bitpool Lake
There are 1 or more Intervals in a Stream
There are 1 or more Streams in a Pool
There are 1 or more Pools in an Organisation
There are 1 or more Users in an Organisation
There are 1 or more Organisations in a Data Lake
The Bitpool V1 API is extensive, however V2 distils functionality down to the basic components for reading and writing interval data to Bitpool.
Please find below examples of how you can quickly get started using tools like Postman.
To continue below, you will need a valid Bitpool account for your organisation in order to generate an API Key.
The API Key will take the following format: Bitpool2 00000000-0000-0000-0000-000000000000.
These are the minimum number of API calls required to upload or download data from Bitpool. Let's work through them one by one.
Note, you only need to create the Pool, Station, and Stream once. Future pushing and pulling of data only requires the Stream and API Keys.
A valid response will return the new Pool Key, which we use next to create a Station.
We only need to make this request once. Either store the key, or query later using the API (provide Pool Name)
HTTP POST
HTTP Response
2. Create a Station
A valid response will return the new Station Index.
We only need to make this request once.
Typically, there is only 1x Station for a Pool.
Historically, a Pool could have many Stations, but generally one is all that is required to link a Stream to a Pool.
HTTP POST
HTTP Response
3. Create a Stream
A valid response will return the new Stream Key. We use the Stream Key to push and pull data from Bitpool.
We only need to make this request once. Either store the key, or query later using the API (provide Stream Name).
Notice that we require both the Pool Key and the Station Index to create a Stream.
HTTP POST
HTTP Response
With the Stream created, we can now push data to Bitpool using the Key
A JSON array of objects containing mandatory 'Timestamp' and 'Value' properties will allow you to bulk upload interval data.
HTTP POST
HTTP Response
Knowing the Stream Key will allow you to download interval data from Bitpool.
Review the API documentation to understand other features of this request - e.g. downloading aggregated data.
HTTP GET
HTTP Response