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 indication, the host and protocol selection indication providing an indication between;
a representational state transfer (REST) host, anda 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; and
receive a response message from the API via;
the REST host, when the host and protocol selection comprises the REST host;
orthe subscription-based API host, when the host and protocol selection comprises the subscription-based 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 indication, the host and protocol selection indication providing an indication 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; and receive a response message from the API via; the REST host, when the host and protocol selection comprises the REST host;
orthe subscription-based API host, when the host and protocol selection comprises the subscription-based 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 indication, the host and protocol selection indication providing an indication 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; and receive a response message from the API via; the REST host, when the host and protocol selection comprises the REST host;
orthe subscription-based API host, when the host and protocol selection comprises the subscription-based 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:
-
providing 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; a host and protocol selection indication, the host and protocol selection indication providing an indication 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; and receiving a response message from the API via; the REST host, when the host and protocol selection comprises the REST host;
orthe subscription-based API host, when the host and protocol selection comprises the subscription-based 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 (18, 19, 20)
-
Specification