Quick Start October 4, 2017

Overview

The UbiBot IoT platform allows you to collect, store, analyse and visualise data collected from UbiBot sensor devices, as well as create rules related to that data. All these functions are accessible via our RESTful API over HTTP.

Authentication

Name Description
account_key Unique key for each account. Used for all account-level authentication requests.
token_id Per-session token used to authenticate API requests. Tokens are assigned during login. Each token_id has an expiry time.
api_key Only used for channel and channel feed management operations. The api_key can be read only or read-write.

Platform API Endpoint

https://api.ubibot.io

Supported Timezone List

The list of supported timezones can be found at
http://api.ubibot.io/constants/timezones

This will return a JSON file listing all timezones currently supported on the IoT platform. For more information on timezones see http://php.net/manual/en/timezones.php

API Access Limits and Restrictions

Actions Limits
 Chanel Feeds Import from CSV file  File contains maximum 5,000 lines
 Default token_id expiry time  15 minutes
 Maximum number of rules for each channel  20
 Trigger log items for each page  1000
 Channel access log items for each page  3000
 User messages for each page  1000
 Maximum number of groups for each user account  50
 Maximum number of pending commands for each channel  3000
 Maximum channel feeds and file upload size  5MB