Comment on page
W3bstream offers HTTP and MQTT network endpoints designed to streamline the transmission of data messages for processing within deployed projects.
When transmitting data to a W3bstream project, two distinct authentication methods come into play. The choice between them depends on whether the data publisher is sending data directly to W3bstream or if it's being transmitted by a cloud server on behalf of the original publishers. The second approach is frequently employed when integrating W3bstream into an existing cloud architecture. For a more in-depth understanding, additional details will be presented in the following sections
Once a publisher is authorized, an authentication token is assigned to it, that should be used when sending any data to that project.
When your architecture involves a cloud server or any backend where data publishers are already sending their data and you want to leverage W3bstream for verifiable processing in this scenario, you should use the API Key functionality.
W3bstream Studio allows you to create multiple API Keys with dedicated permissions, enabling the integration of an existing cloud/backend with your W3bstream projects and, among other things, send events on behalf of the actual publishers.
By authenticating your API call using an API Key with the appropriate permissions to manage publishers, you can indicate the ID of the publisher to which the data belongs. W3bstream will automatically create new publishers when necessary.
It's important to note that API Keys are only supported when sending data through the HTTPS API.
Typically, when sending data to a W3bstream project, you would use one of the available Client SDKs to encapsulate the W3bstream data API. With an SDK, you only need to initialize the client connection and use it to send your payload to the recipient project, without caring about the underlying API.
Depending on the nature of your publishers, which can include IoT, mobile, or PC-based systems, one of the W3bstream Client SDKs may offers compatibility with your specific system. Currently, the W3bstream Client SDKs are available for the following platforms:
By selecting the appropriate SDK based on your device type, you can streamline the integration of W3bstream capabilities into your application, ensuring seamless data transmission and processing.