At the end of the last decade, number of internet connected devices surpassed the number of people on earth. Today, there are more than 25 billion internet connected deviced, ranging from smartphones, smartwatches and activity trackers, with a plethora of embedded sensors, to smart thermometers, door locks and intercoms, accessible from anywhere, making our homes smart. By the end of this decade, this number is about to double by spreading to areas such as health care, enabling remote monitoring of patient's medical condition; electrical energy distribution, providing smart grids for efficient production and distribution of electricity; smart city, creating more efficient and comfortable living and working environment for citizens by monitoring and adjusting various parameters; providing building blocks for smart factories and thus driving the fourth industrial revolution.
This devices helped create a phenomenon called the Internet of things and often form wireless sensor networs. This networks generate data from sensor measurements, which are gathered, analysed and distributed by IoT-platforms, creating information and providing services.
In the thesis we presented requirements for, implementation and performance evaluation of an IoT platform API supporting database manipulation using CRUD operations, database querying with parameters, machine and human readable architecture, real-time data delivery and secure access to the database. The proposed API was developed as a part of Videk platform that conforms to identified IoT platform requirements by following REST architecture style and supporting the WebSocket protocol. Performance evaluation of the proposed API confirmed its suitability also for collecting measurements in fast changing environment and dynamically configurable connected devices.