9. **
Anatomy of a Device (Functional)
● Functional Capabilities
● Administration Capabilities
● Monitoring Capabilities
10. **
Need of standard access layer (API)
● Heterogeneous Devices
● In large numbers too
● Proprietary ...
○ Protocols
○ Access Control Mechanisms
○ Data Models
11. **
Modeling Device capabilities as
HTTP Resources
● Temperature Sensor
○ http://{ip}/{locationid}/sensors/temperature1 - GET
● Motor
○ http://{ip}/{locationid}/actuators/motor1/rotate/{turns}/
{direction} - GET
○ http://{ip}/{locationid}/actuators/motor1/status - GET
12. **
Using OAuth2 to Authorize Device
Access
● OAuth2
● Token per Sensor endpoint
● Token provisioning
● Revocation/Refreshing
13. **
API should be ‘Managed’
● Why?
○ Exposing raw device
○ With no control
● Managed API
○ proper access control
○ subscription capabilities
14. **
Devices need more services..
● Throttling
● Caching
● Request Routing
● Buffering
● Stats collection & monitoring
● Alerting
● Decision Making
15. **
API Management @ the edge
● More closer to where device is
● Or inside device itself
● Several patterns
23. **
WSO2 Platform Support
● API Manager
● Identity Server
● Business Activity Monitor
● Complex Event Processor
● Enterprise Mobility Manager
● Enterprise Service Bus
● Support for Cloud