Case Study Exposing APIs for IoT devices - shephertz/App42-API-Gateway-Sample GitHub Wiki

Case Study - Exposing APIs for IoT devices

Overview

APIs are integral part of IoT devices which allows you to expose these APIs to partner applications/system and to internal IT applications. Because APIs connect IoT devices like cars, medical devices, smart grids and thermostats to your ecosystem, it is important that API management system should provide light-waited, secure, flexible and scalable platform for these devices.

Problem Statement

  • Devices should be able to consume these APIs in secured manner and should be interoperable on all IoT platforms.
  • There should be a way to register/de-register new devices for using these APIs
  • Real time data dashboard for these devices.
  • Option to apply rules and alerts on data received from these devices in real-time.
  • Exposing new APIs for these devices should be easy to roll out.

Solution

- Devices should be able to consume these APIs in secured manner and should be interoperable on all IoT platforms.

APIs exposed through API gateway can be accessed through using API Key/Secret key or through standard OAuth 2.0 protocol. Also, these APIs will use HTTPs protocol to securely communicate with the platform. These APIs are interoperable and can be consumed from any platform using any REST client.

- There should be a way to register/de-register new devices for using these APIs.

App42 API Gateway provides mechanism of IAM to authenticate and authorize access of APIs. These IAM can be created from dashboard to register new devices. Unwanted devices can be deleted from dashboard for de-registration from the platform.

- Real time data dashboard for these devices.

App42 API gateway provides near real time analytics about status of APIs and data received from API consumers. These analytics includes API status, response time, IAM distribution and monetization.

- Option to apply rules and alerts on data received from these devices in real-time.

App42 Gateway provides way to put adapter which can be hooked once APis are processed at gateway. These adapters can be used to write code to put rules on alerting and monitoring purpose on the data received from IoT devices.

- Exposing new APIs for these devices should be easy to roll out.

One can create and provision new APIs in few clicks using API management console.