METHODS AND APPARATUS FOR USING SMART ENVIRONMENT DEVICES VIA APPLICATION PROGRAM INTERFACES
First Claim
1. A system, comprising:
- a processor configured to;
provide a message to an application programming interface (API), wherein the message comprises;
a request for data from a data model, a submission of data to the data model, or both; and
a host and protocol selection between;
a representational state transfer (REST) host and a subscription-based application programming interface (API) host, wherein the REST host receives REST-based messages and the subscription-based API host receives messages in accordance with a standard of the subscription-based API host;
wherein the data model comprises information related to one or more smart-devices, one or more smart-device environment structures comprising the smart-devices, or both.
3 Assignments
0 Petitions
Accused Products
Abstract
Systems and Methods disclosed herein relate to providing a message to an application programming interface (API). The message includes a request for data from a data model, a submission of data to the data model, or both; and a host selection between: a representational state transfer (REST) host and a subscription-based application programming interface (API) host, wherein the REST host receives REST-based messages and the subscription-based API host receives messages in accordance with a standard of the subscription-based API host; wherein the request for data, the submission of data, or both are configured to create, delete, modify, or any combination thereof data related to a smart-device environment structure, a thermostat, a hazard detector, or any combination thereof stored in a data model accessible by the API.
-
Citations
20 Claims
-
1. A system, comprising:
a processor configured to; provide a message to an application programming interface (API), wherein the message comprises; a request for data from a data model, a submission of data to the data model, or both; and a host and protocol selection between;
a representational state transfer (REST) host and a subscription-based application programming interface (API) host, wherein the REST host receives REST-based messages and the subscription-based API host receives messages in accordance with a standard of the subscription-based API host;wherein the data model comprises information related to one or more smart-devices, one or more smart-device environment structures comprising the smart-devices, or both. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
12. A tangible, non-transitory, machine-readable medium, comprising instructions to:
-
provide a message to an application programming interface (API), wherein the message comprises; a request for data from a data model, a submission of data to the data model, or both; and a host selection between;
a representational state transfer (REST) host and a subscription-based application programming interface (API) host, wherein the REST host receives REST-based messages and the subscription-based API host receives messages in accordance with a standard of the subscription-based API host;wherein the request for data, the submission of data, or both are configured to create, delete, modify, or any combination thereof data related to a smart-device environment structure, a thermostat, a hazard detector, or any combination thereof stored in a data model accessible by the API. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A computer-implemented method, comprising:
-
receiving, via an application programming interface (API), a message comprising; a request for retrieval of data from a data model, submission of data to the data model, or both; wherein the message is received via one of; a representational state transfer (REST) host and a subscription-based application programming interface (API) host, wherein the REST host receives REST-based messages and the subscription-based API host receives messages in accordance with a standard of the subscription-based API host; facilitating the request; wherein the data model comprises information related to the one or more smart-devices, the one or more smart-device environment structures comprising the smart-devices, or both. - View Dependent Claims (18, 19, 20)
-
Specification